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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov ebp, dword [eax + 8]
mov ebx, dword [esp + 0x70]
mov edi, dword [esp + 0x74]
mov dword [esp + 0x14], eax
mov dword [esp + 0x38], edx
mov dword [esp + 0x2c], ebx
mov ebx, dword [esp + 0x78]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x7c]
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x80]
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0x84]
test ebp, ebp
je 0x10d1b98
mov eax, dword [esp + 0x14]
mov esi, dword [eax + 0x28]
sub esi, 1
mov dword [esp + 0x20], esi
mov esi, dword [eax + 0x38]
mov dword [esp + 0x30], esi
sub esi, 1
cmp dword [esp + 0x1c], 0xffffffff
mov dword [esp + 0xc], esi
mov dword [eax + 0x38], esi
je 0x10d1bc0
mov eax, dword [edi + 0x14]
mov dword [esp + 0x24], eax
test eax, eax
jle 0x10d186f
mov dword [esp + 0x28], ebx
mov ebx, dword [esp + 0x18]
xor esi, esi
lea esi, cs:[esi]
mov eax, dword [esp + 0x10]
mov ecx, dword [edi]
mov edx, dword [eax + esi*4]
mov eax, edx
test byte [ecx + 0x1c], 0x20
je 0x10d1840
test dx, dx
js 0x10d1840
movsx edx, dx
mov eax, ecx
call fcn.010a0250
sub esp, 8
cwde
mov edx, 0x32
add esi, 1
push 0
lea ecx, [ebx + eax + 1]
mov eax, ebp
push dword [esp + 0x18]
call fcn.010c6f00
mov eax, dword [edi + 0x14]
add esp, 0x10
cmp eax, esi
jg 0x10d1820
mov dword [esp + 0x24], eax
mov ebx, dword [esp + 0x28]
test ebx, ebx
jne 0x10d19b0
mov ecx, dword [esp + 0x2c]
cmp dword [esp + 0x1c], 1
sete byte [esp + 0x3c]
test ecx, ecx
je 0x10d1a60
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x14]
mov edx, esi
call fcn.010a0170
sub esp, 8
mov edx, 0x70
mov dword [esp + 0x48], eax
mov ebx, eax
mov eax, ebp
push dword [esp + 0x40]
mov ecx, dword [esp + 0x38]
push dword [ecx + 0x2c]
mov ecx, dword [esp + 0x30]
call fcn.010c6f00
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x24]
call fcn.010d1250
add esp, 0x10
mov ecx, esi
test esi, esi
jle 0x10d1db7
mov eax, ebx
mov esi, ebx
lea ebx, [ecx + ebx]
mov ecx, dword [esp + 0x10]
shl eax, 2
sub ecx, eax
mov dword [esp + 0x28], ecx
nop
mov eax, dword [esp + 0x28]
mov ecx, dword [edi]
mov edx, dword [eax + esi*4]
mov eax, edx
test byte [ecx + 0x1c], 0x20
je 0x10d1910
test dx, dx
js 0x10d1910
movsx edx, dx
mov eax, ecx
call fcn.010a0250
mov edx, dword [esp + 0x18]
sub esp, 8
cwde
push 0
push esi
lea ecx, [edx + eax + 1]
add esi, 1
mov edx, 0x50
mov eax, ebp
call fcn.010c6f00
add esp, 0x10
cmp ebx, esi
jne 0x10d18f0
mov ecx, dword [edi]
mov eax, dword [esp + 0x34]
cmp ecx, eax
jne 0x10d194a
cmp byte [esp + 0x3c], 0
jne 0x10d1ca4
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x10d1dde
mov ebx, dword [esp + 0x24]
mov edx, 0x60
push ebx
push eax
mov eax, ebp
push 0
push ebx
mov esi, dword [esp + 0x50]
mov ecx, esi
call fcn.010c7690
add esp, 0xc
mov edx, 0x1d
mov eax, ebp
push ebx
push esi
push dword [esp + 0x18]
mov ecx, dword [esp + 0x30]
call fcn.010c7d80
add esp, 0x10
cmp ebx, 1
je 0x10d1c76
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x24]
cmp ebx, dword [eax + 0x1c]
jg 0x10d1c00
lea esi, [esi]
movzx ecx, byte [edi + 0x18]
test cl, cl
jne 0x10d19e5
mov edi, dword [esp + 0x14]
xor edx, edx
mov eax, dword [edi]
mov eax, dword [eax + 0x20]
and eax, 0x80000
or eax, edx
jne 0x10d1a48
mov eax, dword [edi + 0x80]
test eax, eax
je 0x10d1c25
cmp dword [esp + 0x1c], 1
jne 0x10d19e5
mov byte [eax + 0x15], 1
sub esp, 8
mov edx, 0x9e
mov eax, ebp
push 0
push dword [esp + 0x28]
call fcn.010c6f00
add esp, 0x10
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx + 0x38]
add eax, dword [ebx + 0x3c]
js 0x10d1be8
mov eax, dword [esp + 0x30]
mov edx, dword [ebp + 0x6c]
shl eax, 2
neg eax
add eax, dword [ebx + 0x40]
mov dword [eax], edx
mov dword [esp + 0x74], 0
mov ecx, dword [esp + 0x20]
mov eax, ebp
mov edx, 0x7a
mov dword [esp + 0x70], 0
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.010c6f00
cmp dword [esp + 0x1c], 1
jne 0x10d19e5
mov edi, dword [esp + 0x14]
mov eax, dword [edi + 0x80]
test eax, eax
cmove eax, edi
jmp 0x10d19e1
mov eax, dword [esp + 0x14]
movzx eax, byte [eax + 0x13]
test al, al
je 0x10d1c0f
mov ebx, dword [esp + 0x14]
sub eax, 1
mov byte [ebx + 0x13], al
movzx eax, al
mov esi, dword [ebx + eax*4 + 0xa4]
mov eax, dword [esp + 0x10]
mov ecx, dword [edi]
mov edx, dword [eax]
mov eax, edx
test byte [ecx + 0x1c], 0x20
je 0x10d1aa3
test dx, dx
js 0x10d1aa3
movsx edx, dx
mov eax, ecx
call fcn.010a0250
mov ebx, dword [esp + 0x18]
sub esp, 8
cwde
mov edx, 0x51
push 0
push esi
lea ecx, [ebx + eax + 1]
mov eax, ebp
call fcn.010c6f00
mov ebx, dword [ebp + 0x6c]
add esp, 0x10
cmp ebx, dword [ebp + 0x70]
jge 0x10d1d98
mov edx, dword [ebp + 0x68]
lea eax, [ebx + 1]
mov dword [ebp + 0x6c], eax
lea eax, [ebx + ebx*4]
lea eax, [edx + eax*4]
mov dword [eax + 4], esi
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax], 0xd
mov eax, dword [esp + 0x34]
cmp dword [edi], eax
jne 0x10d1b0d
cmp byte [esp + 0x3c], 0
jne 0x10d1e1c
sub esp, 8
push 0x70
push dword [esp + 0x40]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x24]
call fcn.010d12b0
pop eax
pop edx
push esi
push 0
mov ecx, dword [esp + 0x30]
mov edx, 0x1f
mov eax, ebp
call fcn.010c6f00
mov edx, dword [esp + 0x1c]
mov eax, ebp
call fcn.010c75c0
mov edx, dword [ebp]
add esp, 0x10
mov eax, dword [ebp + 0x6c]
cmp byte [edx + 0x57], 0
je 0x10d1c60
mov dword [0x14bebf4], eax
mov edx, 0x14bebec
mov dword [edx + 8], eax
test esi, esi
je 0x10d19b0
mov ebx, dword [esp + 0x14]
movzx eax, byte [ebx + 0x13]
cmp al, 7
ja 0x10d19b0
lea edx, [eax + 1]
mov byte [ebx + 0x13], dl
mov dword [ebx + eax*4 + 0xa4], esi
jmp 0x10d19b0
mov esi, dword [eax + 0x80]
test esi, esi
je 0x10d1c48
mov eax, dword [esp + 0x14]
call fcn.010c6f70
mov ebp, eax
jmp 0x10d17dc
sub esp, 8
movzx ecx, byte [edi + 0x18]
mov edx, 0x31
mov eax, ebp
push 0
push dword [esp + 0x18]
call fcn.010c6f00
add esp, 0x10
jmp 0x10d1806
mov ecx, dword [esp + 0x30]
mov edx, ebp
mov eax, ebx
neg ecx
call fcn.010c96c0
jmp 0x10d1a1d
mov dword [eax + 0x1c], ebx
mov ebx, dword [esp + 0x40]
mov dword [eax + 0x20], ebx
jmp 0x10d19b0
mov eax, dword [esp + 0x14]
mov ebx, dword [eax + 0x2c]
lea esi, [ebx + 1]
mov dword [esp + 0x24], ebx
mov dword [eax + 0x2c], esi
jmp 0x10d1a84
cmp byte [edi + 0x14], 0
je 0x10d1df2
cmp dword [esp + 0x1c], 1
mov eax, dword [esp + 0x14]
je 0x10d19e1
jmp 0x10d19e5
mov esi, eax
mov eax, dword [eax]
test byte [eax + 0x50], 8
jne 0x10d1ba6
mov byte [esi + 0x17], 1
jmp 0x10d1ba6
mov edx, dword [ebp + 0x68]
lea ecx, [eax + eax*4 - 0xa]
mov dword [edx + ecx*4 + 8], eax
lea ecx, [ebx + ebx*4]
lea edx, [edx + ecx*4]
jmp 0x10d1b64
mov ebx, dword [esp + 0x40]
test ebx, ebx
je 0x10d19b0
mov esi, dword [esp + 0x14]
movzx eax, byte [esi + 0x13]
cmp al, 7
ja 0x10d19b0
lea edx, [eax + 1]
mov byte [esi + 0x13], dl
mov dword [esi + eax*4 + 0xa4], ebx
jmp 0x10d19b0
mov ebx, dword [esp + 0x24]
mov eax, dword [ebp + 0x6c]
mov dword [esp + 0x44], edi
xor esi, esi
mov edi, dword [esp + 0x2c]
add eax, ebx
add eax, 1
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x18]
add eax, 1
mov dword [esp + 0x4c], eax
lea eax, [ebx + ebx]
mov dword [esp + 0x3c], eax
jmp 0x10d1d53
test bx, bx
js 0x10d1d8e
movsx edx, bx
mov dword [esp + 0x48], ecx
call fcn.010a0250
mov ecx, dword [esp + 0x48]
mov word [esp + 0x28], ax
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x18]
cmp bx, word [eax + 0x20]
je 0x10d1d10
movsx eax, word [esp + 0x28]
mov ebx, dword [esp + 0x4c]
lea edx, [eax + ebx]
sub esp, 8
mov eax, ebp
push edx
mov edx, 0x34
push dword [esp + 0x44]
call fcn.010c6f00
mov eax, dword [ebp + 0x6c]
add esp, 0x10
test eax, eax
jle 0x10d1d40
mov edx, dword [ebp + 0x68]
lea eax, [eax + eax*4]
mov ecx, 0x10
lea eax, [edx + eax*4]
mov word [eax - 0x12], cx
add esi, 2
cmp dword [esp + 0x3c], esi
je 0x10d1e16
mov eax, dword [esp + 0x44]
mov ecx, dword [eax]
mov eax, dword [esp + 0x10]
mov edx, dword [eax + esi*2]
mov eax, edx
test byte [ecx + 0x1c], 0x20
je 0x10d1d71
test dx, dx
js 0x10d1d71
movsx edx, dx
mov eax, ecx
call fcn.010a0250
mov ebx, dword [esp + 0x18]
cwde
lea ecx, [ebx + eax + 1]
mov eax, dword [edi + 4]
movzx ebx, word [eax + esi]
mov eax, dword [edi + 0xc]
test byte [eax + 0x1c], 0x20
jne 0x10d1cd8
mov word [esp + 0x28], bx
jmp 0x10d1cf6
sub esp, 8
mov ecx, esi
mov edx, 0xd
mov eax, ebp
push 0
push 0
call fcn.010c6e90
add esp, 0x10
mov ebx, eax
jmp 0x10d1afa
mov eax, dword [esp + 0x34]
cmp dword [edi], eax
jne 0x10d194a
cmp byte [esp + 0x3c], 0
je 0x10d194a
mov edx, dword [esp + 0xc]
mov eax, ebp
call fcn.010c75c0
jmp 0x10d194a
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x2c]
mov eax, dword [eax]
call fcn.010bd750
jmp 0x10d1959
sub esp, 4
mov ecx, 2
mov edx, 0x313
push 4
push 0xffffffffffffffff
push 0
mov eax, dword [esp + 0x24]
call fcn.010c83f0
add esp, 0x10
jmp 0x10d19fd
mov edi, dword [esp + 0x44]
jmp 0x10d1dce
sub esp, 8
mov edx, 0x35
mov eax, ebp
push esi
push dword [esp + 0x18]
mov ecx, dword [esp + 0x28]
call fcn.010c6f00
mov eax, dword [ebp + 0x6c]
add esp, 0x10
test eax, eax
jle 0x10d1b0d
mov ecx, dword [ebp + 0x68]
lea eax, [eax + eax*4]
mov edx, 0x90
lea eax, [ecx + eax*4]
mov word [eax - 0x12], dx
jmp 0x10d1b0d