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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x12], 0
mov ebx, dword [esi]
mov dword [esp + 0x1c], ebx
jne 0x100d22b4
cmp byte [ebx + 0x45], 0
jne 0x100d22a7
cmp dword [esi + 0x24], 0
jne 0x100d22a7
mov edi, dword [esi + 8]
mov dword [esp + 0x14], edi
test edi, edi
jne 0x100d2060
call fcn.100ec340
mov edi, eax
mov dword [esp + 0x14], eax
test edi, edi
je 0x100d22ad
mov edx, 0x4b
mov ecx, edi
call fcn.100b2890
cmp byte [ebx + 0x45], 0
jne 0x100d2271
cmp dword [esi + 0x60], 0
jne 0x100d2086
cmp dword [esi + 0x50], 0
je 0x100d2271
mov eax, dword [edi]
mov ecx, dword [edi + 0x88]
cmp byte [eax + 0x45], 0
mov eax, 0x1018d2bc
jne 0x100d209c
mov eax, dword [edi + 0x58]
xor edx, edx
mov dword [eax + 8], ecx
mov dword [esp + 0xc], edx
cmp dword [ebx + 0x14], edx
jle 0x100d212f
mov dword [esp + 0x10], edx
mov eax, 1
mov ecx, edx
shl eax, cl
mov dword [esp + 0x18], eax
test dword [esi + 0x60], eax
je 0x100d2120
mov ecx, edi
call fcn.100b3b20
mov eax, dword [ebx + 0x10]
mov ecx, dword [esp + 0x10]
mov eax, dword [eax + ecx + 0xc]
mov ecx, edi
push dword [eax + 4]
push dword [eax]
mov eax, dword [esi + 0x5c]
and eax, dword [esp + 0x20]
neg eax
sbb eax, eax
neg eax
push eax
push edx
mov edx, 2
call fcn.100b2d60
add esp, 0x10
cmp byte [ebx + 0x99], 0
jne 0x100d211c
mov eax, dword [edi + 0x88]
test eax, eax
jle 0x100d211c
lea ecx, [eax + eax*4]
mov edx, 1
mov eax, dword [edi + 0x58]
mov word [eax + ecx*4 - 0x12], dx
mov edx, dword [esp + 0xc]
add dword [esp + 0x10], 0x10
inc edx
mov dword [esp + 0xc], edx
cmp edx, dword [ebx + 0x14]
jl 0x100d20b2
xor ecx, ecx
mov dword [esp + 0x10], ecx
cmp dword [esi + 0x198], ecx
jle 0x100d2184
nop dword [eax]
mov eax, dword [esi + 0x1c8]
mov eax, dword [eax + ecx*4]
mov eax, dword [eax + 0x3c]
test eax, eax
je 0x100d215b
cmp dword [eax], ebx
je 0x100d215b
mov eax, dword [eax + 0x18]
test eax, eax
jne 0x100d2150
push 0xfffffffffffffff8
push eax
push 0
push 0
push 0
mov edx, 0x97
mov ecx, edi
call fcn.100b2c10
mov ecx, dword [esp + 0x24]
add esp, 0x14
inc ecx
mov dword [esp + 0x10], ecx
cmp ecx, dword [esi + 0x198]
jl 0x100d2140
mov ecx, esi
mov dword [esi + 0x198], 0
call fcn.100d1f20
mov ecx, esi
call fcn.100e06e0
mov eax, dword [esi + 0x50]
mov dword [esp + 0x10], eax
test eax, eax
je 0x100d2216
mov byte [esi + 0x17], 0
cmp dword [eax], 0
jle 0x100d2216
xor edi, edi
xor ebx, ebx
mov eax, dword [eax + 4]
mov edx, dword [edi + eax]
mov ecx, dword [edi + eax + 0x14]
mov dword [esp + 0x18], ecx
test edx, edx
je 0x100d21d9
cmp byte [edx], 0x9d
jne 0x100d21d9
push ecx
push dword [edx + 0x1c]
mov ecx, dword [esi + 8]
mov edx, 0x54
jmp 0x100d21fa
push ecx
mov ecx, esi
call fcn.100cc190
mov edx, dword [esp + 0x1c]
add esp, 4
cmp eax, edx
je 0x100d2202
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x100d2202
push edx
push eax
mov edx, 0x55
call fcn.100b2970
add esp, 8
mov eax, dword [esp + 0x10]
inc ebx
add edi, 0x18
cmp ebx, dword [eax]
jl 0x100d21b4
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x1c]
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x100d223b
push 0
push 1
push 0
mov edx, 0xd
mov ecx, edi
call fcn.100b27e0
add esp, 0xc
jmp 0x100d2271
lea eax, [ecx + 1]
mov dword [edi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x58]
mov dword [eax + ecx*4], 0xd
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 1
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
cmp dword [esi + 0x24], 0
jne 0x100d22ad
cmp byte [ebx + 0x45], 0
jne 0x100d22ad
cmp dword [esi + 0x78], 0
je 0x100d2290
cmp dword [esi + 0x28], 0
jne 0x100d2290
mov dword [esi + 0x28], 1
mov edx, esi
mov ecx, edi
call fcn.100b4270
mov dword [esi + 0xc], 0x65
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0xc], 0
jne 0x100d22b4
mov dword [esi + 0xc], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret