Function at 0x100dbf3f
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x1013aa90
sub esp, 0x1b0
mov eax, dword [0x1036e400]
xor eax, esp
mov dword [esp + 0x1ac], eax
mov eax, dword [esp + 0x1b8]
mov ecx, dword [esp + 0x1c4]
mov edx, dword [esp + 0x1cc]
push ebx
mov ebx, dword [esp + 0x1c0]
push ebp
mov ebp, dword [esp + 0x1bc]
push esi
mov esi, dword [esp + 0x1cc]
push edi
xor edi, edi
push edi
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x1e4]
push edi
push ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x2c], esi
mov dword [esp + 0x44], ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x24], edi
call fcn.100db66b
xor eax, eax
push 0x54
lea ecx, [esp + 0x68]
push edi
push ecx
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
call fcn.100dc309
mov edx, dword [esp + 0x1f0]
mov eax, 1
mov dword [esp + 0x70], eax
mov dword [esp + 0x78], eax
xor eax, eax
add esp, 0x18
cmp ax, dx
mov dword [esp + 0x5c], 0x4000
mov dword [esp + 0x64], edi
mov dword [esp + 0x30], edi
jge 0x1013ab65
movzx ecx, dx
mov edi, ebx
rep stosd dword es:[edi], eax
movzx eax, dx
movzx ecx, ax
mov dword [esp + 0x30], ecx
xor eax, eax
cmp ax, dx
jge 0x1013ac1a
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
sub eax, esi
movzx edx, dx
sub esi, ebx
mov dword [esp + 0x1c], eax
mov edi, ebx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x3c], edx
mov eax, 1
jmp 0x1013aba4
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
cmp word [ecx], 2
jne 0x1013ac00
push 0
push 0
push ebp
mov dword [esp + 0x24], eax
call fcn.100db66b
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x64]
push edx
push eax
mov eax, dword [esp + 0x3c]
add esi, edi
lea edx, [esi + ecx]
push edx
push edi
push eax
push ebp
call fcn.100dbc10
add esp, 0x24
test ax, ax
jne 0x1013abfa
mov eax, dword [esp + 0x10]
mov dword [esi], 0
test eax, eax
je 0x1013ac00
mov ecx, dword [esp + 0x58]
mov dword [eax], ecx
jmp 0x1013ac00
mov dword [edi], 0
add dword [esp + 0x28], 0x18
mov eax, 1
add edi, 4
sub dword [esp + 0x3c], eax
jne 0x1013aba0
cmp dword [esp + 0x18], 0
jne 0x1013ac32
push 0
push 0
push ebp
call fcn.100db66b
lea edx, [esp + 0x64]
push edx
push ebp
call fcn.100df16c
add esp, 0x14
mov eax, dword [esp + 0x10]
test eax, eax
je 0x1013ac40
mov ecx, dword [esp + 0x58]
mov dword [eax], ecx
lea edx, [esp + 0x58]
push edx
push ebp
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0xb8]
push ecx
lea edx, [esp + 0x50]
push edx
call fcn.100dd939
add esp, 0x14
test eax, eax
jl 0x1013aed5
jmp 0x1013ac70
mov edi, dword [esp + 0x44]
cmp edi, 0xffffffff
jne 0x1013acd9
mov eax, 0x7fe0
cmp word [esp + 0x40], ax
jne 0x1013ac91
cmp word [esp + 0x42], 0x10
je 0x1013af0b
push 1
push 0
push ebp
call fcn.100db66b
lea ecx, [esp + 0x64]
push ecx
push ebp
mov esi, eax
call fcn.100dc52a
movzx edi, ax
add esp, 0x14
test di, di
jne 0x1013aef0
push 1
push 0
push ebp
call fcn.100db66b
push 0
mov edi, eax
push esi
push ebp
sub edi, esi
call fcn.100db66b
add esp, 0x18
mov dword [esp + 0x44], edi
mov dword [esp + 0x54], edi
mov edx, 0x7fe0
cmp word [esp + 0x40], dx
jne 0x1013acf1
cmp word [esp + 0x42], 0x10
je 0x1013af0b
xor eax, eax
xor ecx, ecx
cmp cx, word [esp + 0x1d8]
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], eax
jge 0x1013ae4f
jmp 0x1013ad10
movsx esi, ax
mov eax, dword [esp + 0x34]
lea edx, [esi + esi*2]
lea eax, [eax + edx*8]
mov edx, dword [esp + 0x40]
cmp dx, word [eax]
jne 0x1013ae31
mov cx, word [esp + 0x42]
cmp cx, word [eax + 2]
jne 0x1013ae31
mov eax, dword [eax + 4]
test eax, eax
je 0x1013ad9a
cmp eax, edi
je 0x1013ad9a
movzx eax, dx
mov edx, eax
and edx, reloc.WS2_32.dll_accept
jns 0x1013ad56
dec edx
or edx, 0xfffffffe
inc edx
jne 0x1013ae31
push edi
movzx ecx, cx
push ecx
push eax
lea edx, [esp + 0xc8]
push str.Bad_tag_len:___.4X___.4X___d
push edx
call fcn.100dc809
push 0xc9a
push str.._rddfile.c
lea eax, [esp + 0xd8]
push eax
push 2
push 0x40003
call fcn.100dac0c
add esp, 0x28
jmp 0x1013ae31
movsx ecx, word [esp + 0x30]
mov edx, dword [esp + 0x20]
push 1
push 0
push ebp
mov dword [edx + esi*4], ecx
call fcn.100db66b
mov ecx, dword [esp + 0x44]
lea edx, [edi + 4]
mov dword [ecx + esi*4], eax
mov eax, dword [esp + 0x30]
push edx
push eax
call fcn.100de77b
add esp, 0x14
mov ebp, eax
push edi
test ebp, ebp
je 0x1013afc1
mov ecx, dword [esp + 0x18]
push ebp
push ecx
call fcn.100db5df
add esp, 0xc
cmp eax, edi
jne 0x1013b00a
mov edx, dword [esp + 0x24]
push 0x18
push edx
call fcn.100de77b
mov cx, word [esp + 0x48]
mov dword [ebx + esi*4], eax
mov word [eax], cx
mov edx, dword [ebx + esi*4]
mov ax, word [esp + 0x4a]
mov word [edx + 2], ax
mov ecx, dword [ebx + esi*4]
mov dword [ecx + 4], edi
mov edx, dword [ebx + esi*4]
mov dword [edx + 8], ebp
mov eax, dword [ebx + esi*4]
mov ecx, dword [eax + 8]
mov ebp, dword [esp + 0x1c]
add esp, 8
mov byte [edi + ecx], 0
mov dword [esp + 0x18], 1
mov eax, dword [esp + 0x10]
inc eax
cmp ax, word [esp + 0x1d8]
mov dword [esp + 0x10], eax
jl 0x1013ad10
cmp dword [esp + 0x18], 0
jne 0x1013aead
cmp edi, 0xffffffff
jne 0x1013ae8a
lea edx, [esp + 0x58]
push edx
push ebp
call fcn.100dc52a
movzx eax, ax
add esp, 8
test ax, ax
je 0x1013aead
movzx esi, ax
push 0xcc3
push str.._rddfile.c
push esi
push 0x40003
call fcn.100de447
add esp, 0x10
mov ax, si
jmp 0x1013aed7
test edi, edi
js 0x1013af01
push 1
push 0
push ebp
call fcn.100db66b
add eax, edi
add esp, 0xc
test eax, eax
js 0x1013af01
push 1
push edi
push ebp
call fcn.100db66b
add esp, 0xc
lea eax, [esp + 0x58]
push eax
push ebp
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0xb8]
push edx
lea eax, [esp + 0x50]
push eax
call fcn.100dd939
add esp, 0x14
test eax, eax
jge 0x1013ac70
xor eax, eax
mov ecx, dword [esp + 0x1bc]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100dba62
add esp, 0x1b0
ret
push 0
push esi
push ebp
call fcn.100db66b
add esp, 0xc
mov ax, di
jmp 0x1013aed7
mov esi, 2
jmp 0x1013ae6d
xor ecx, ecx
cmp cx, word [esp + 0x1d8]
jge 0x1013aed5
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
sub eax, ecx
sub ecx, ebx
mov esi, ebx
movzx ebx, word [esp + 0x1d8]
mov dword [esp + 0x14], edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ebx
mov ebx, 0x7fe0
cmp bx, word [edx]
jne 0x1013afab
mov ebx, 0x10
cmp bx, word [edx + 2]
jne 0x1013afab
movsx edx, word [esp + 0x30]
push 1
lea ebx, [ecx + esi]
push 0
push ebp
mov dword [ebx + eax], edx
call fcn.100db66b
mov dword [ebx], eax
mov eax, dword [esp + 0x30]
push 0x18
push eax
call fcn.100de77b
mov dword [esi], eax
mov ecx, 0x7fe0
mov word [eax], cx
mov edx, dword [esi]
mov eax, 0x10
mov word [edx + 2], ax
mov ecx, dword [esi]
mov eax, dword [esp + 0x40]
mov dword [ecx + 4], edi
mov edx, dword [esi]
mov ecx, dword [esp + 0x30]
mov dword [edx + 8], 0
mov edx, dword [esp + 0x28]
add esp, 0x14
add edx, 0x18
add esi, 4
sub dword [esp + 0x20], 1
mov dword [esp + 0x14], edx
jne 0x1013af41
jmp 0x1013aed5
movzx eax, word [esp + 0x46]
movzx ecx, word [esp + 0x44]
push eax
push ecx
lea edx, [esp + 0xc8]
push str.__.4X__.4X__Len:_d
push edx
call fcn.100dc809
push 0xca7
push str.._rddfile.c
lea eax, [esp + 0xd8]
push eax
push 0x66
push 0x40003
call fcn.100dac0c
add esp, 0x28
mov eax, 0x66
jmp 0x1013aed7
push 0xcad
push str.._rddfile.c
push 0xca
push 0x40003
call fcn.100de447
add esp, 0x10
mov eax, 0xca
jmp 0x1013aed7