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

Disassembly:
sub esp, 0x5c
mov eax, dword [0x100d6110]
mov edx, dword [esp + 0x60]
push ebp
mov ebp, dword [esp + 0x6c]
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x34]
push ecx
push edx
mov dword [ebp], 0
call fcn.1006f7c0
add esp, 0xc
test eax, eax
je 0x10002056
mov eax, 1
pop ebp
mov ecx, dword [esp + 0x58]
call fcn.100d08b1
add esp, 0x5c
ret
mov eax, dword [esp + 0x38]
test eax, eax
push ebx
push esi
push edi
je 0x10002448
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x38]
push edx
push eax
call fcn.10032050
add esp, 0x10
test eax, eax
je 0x1000209b
pop edi
pop esi
pop ebx
mov eax, 1
pop ebp
mov ecx, dword [esp + 0x58]
call fcn.100d08b1
add esp, 0x5c
ret
mov eax, dword [esp + 0x18]
xor edi, edi
test eax, eax
mov ebx, 1
jle 0x100021c4
mov edi, edi
mov edx, dword [esp + 0x38]
lea ecx, [esp + 0x24]
push ecx
lea eax, [edx + edi*4]
push eax
call fcn.10081ae0
add esp, 8
test eax, eax
jne 0x1000245b
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x100020de
cmp eax, 3
jne 0x100021b7
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x10]
push ecx
push edi
push edx
call fcn.100a7160
add esp, 0xc
test eax, eax
jne 0x1000245b
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x2c]
push eax
push ecx
call fcn.100227f0
add esp, 8
test eax, eax
jne 0x1000245b
cmp dword [esp + 0x2c], ebx
jne 0x100021b7
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x78]
push edx
lea eax, [esp + 0x20]
push eax
push ecx
call fcn.100226f0
add esp, 0xc
test eax, eax
jne 0x1000245b
mov eax, dword [esp + 0x78]
xor esi, esi
test eax, eax
jle 0x100021b7
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x14]
push edx
push esi
push eax
call fcn.100a7160
add esp, 0xc
test eax, eax
jne 0x1000245b
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x34]
push ecx
push edx
call fcn.100c3f70
add esp, 8
test eax, eax
jne 0x1000245b
mov eax, dword [esp + 0x34]
test eax, eax
je 0x100021ae
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x44]
push ecx
push edx
call fcn.10051e20
add esp, 0xc
test eax, eax
jne 0x1000245b
mov eax, dword [esp + 0x20]
test eax, eax
je 0x1000246e
mov eax, dword [esp + 0x78]
inc esi
cmp esi, eax
jl 0x10002146
mov eax, dword [esp + 0x18]
inc edi
cmp edi, eax
jl 0x100020b0
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x40]
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x38]
push ecx
push edx
call fcn.10032120
add esp, 0x10
test eax, eax
jne 0x1000245b
mov eax, dword [esp + 0x18]
xor edi, edi
test eax, eax
jle 0x1000230e
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x24]
push eax
lea edx, [ecx + edi*4]
push edx
call fcn.10081ae0
add esp, 8
test eax, eax
jne 0x1000245b
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x10002224
cmp eax, 3
jne 0x10002301
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x10]
push eax
push edi
push ecx
call fcn.100a7160
add esp, 0xc
test eax, eax
jne 0x1000245b
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x2c]
push edx
push eax
call fcn.100227f0
add esp, 8
test eax, eax
jne 0x1000245b
cmp dword [esp + 0x2c], ebx
jne 0x10002301
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x78]
push ecx
lea edx, [esp + 0x20]
push edx
push eax
call fcn.100226f0
add esp, 0xc
test eax, eax
jne 0x1000245b
mov eax, dword [esp + 0x78]
xor esi, esi
test eax, eax
jle 0x10002301
lea esp, [esp]
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x14]
push ecx
push esi
push edx
call fcn.100a7160
add esp, 0xc
test eax, eax
jne 0x1000245b
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x34]
push eax
push ecx
call fcn.100c3f70
add esp, 8
test eax, eax
jne 0x1000245b
mov eax, dword [esp + 0x34]
test eax, eax
je 0x100022f8
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x44]
push eax
push ecx
call fcn.10051e20
add esp, 0xc
test eax, eax
jne 0x1000245b
mov eax, dword [esp + 0x20]
test eax, eax
je 0x100024d9
mov eax, dword [esp + 0x78]
inc esi
cmp esi, eax
jl 0x10002290
mov eax, dword [esp + 0x18]
inc edi
cmp edi, eax
jl 0x100021f6
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x40]
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x38]
push eax
push ecx
call fcn.10032220
add esp, 0x10
test eax, eax
jne 0x1000245b
mov eax, dword [esp + 0x18]
xor edi, edi
test eax, eax
jle 0x10002448
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x24]
push edx
lea ecx, [eax + edi*4]
push ecx
call fcn.10081ae0
add esp, 8
test eax, eax
jne 0x1000245b
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x1000236e
cmp eax, 3
jne 0x1000243b
mov eax, dword [esp + 0x30]
lea edx, [esp + 0x10]
push edx
push edi
push eax
call fcn.100a7160
add esp, 0xc
test eax, eax
jne 0x1000245b
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x2c]
push ecx
push edx
call fcn.100227f0
add esp, 8
test eax, eax
jne 0x1000245b
cmp dword [esp + 0x2c], ebx
jne 0x1000243b
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x20]
push ecx
push edx
call fcn.100226f0
add esp, 0xc
test eax, eax
jne 0x1000245b
mov eax, dword [esp + 0x78]
xor esi, esi
test eax, eax
jle 0x1000243b
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x14]
push eax
push esi
push ecx
call fcn.100a7160
add esp, 0xc
test eax, eax
jne 0x1000245b
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x34]
push edx
push eax
call fcn.100c3f70
add esp, 8
test eax, eax
jne 0x1000245b
mov eax, dword [esp + 0x34]
test eax, eax
je 0x10002432
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x44]
push edx
push eax
call fcn.10051e20
add esp, 0xc
test eax, eax
jne 0x1000245b
mov eax, dword [esp + 0x20]
test eax, eax
je 0x10002531
mov eax, dword [esp + 0x78]
inc esi
cmp esi, eax
jl 0x100023d6
mov eax, dword [esp + 0x18]
inc edi
cmp edi, eax
jl 0x10002340
pop edi
pop esi
pop ebx
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x58]
call fcn.100d08b1
add esp, 0x5c
ret
pop edi
pop esi
mov eax, ebx
pop ebx
pop ebp
mov ecx, dword [esp + 0x58]
call fcn.100d08b1
add esp, 0x5c
ret
lea eax, [esp + 0x28]
push eax
mov dword [ebp], ebx
call fcn.100206a0
add esp, 4
test eax, eax
jne 0x1000245b
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x74]
push ecx
push 0x1b61
push esi
call fcn.100809a0
add esp, 0xc
test eax, eax
jne 0x1000245b
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x48]
push edx
push eax
call fcn.100227b0
add esp, 8
test eax, eax
jne 0x1000245b
lea ecx, [esp + 0x48]
push ecx
push ebx
push esi
call fcn.100809e0
mov ecx, dword [esp + 0x74]
add esp, 0xc
pop edi
neg eax
pop esi
sbb eax, eax
pop ebx
neg eax
pop ebp
call fcn.100d08b1
add esp, 0x5c
ret
lea edx, [esp + 0x28]
push edx
mov dword [ebp], ebx
call fcn.100206a0
add esp, 4
test eax, eax
jne 0x1000245b
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x74]
push eax
push 0x1b61
push esi
call fcn.100809a0
add esp, 0xc
test eax, eax
jne 0x1000245b
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x48]
push ecx
push edx
call fcn.100227b0
add esp, 8
test eax, eax
jne 0x1000245b
lea eax, [esp + 0x48]
push eax
jmp 0x100024b8
lea ecx, [esp + 0x28]
push ecx
mov dword [ebp], ebx
call fcn.100206a0
add esp, 4
test eax, eax
jne 0x1000245b
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x74]
push edx
push 0x1b61
push esi
call fcn.100809a0
add esp, 0xc
test eax, eax
jne 0x1000245b
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x48]
push eax
push ecx
call fcn.100227b0
add esp, 8
test eax, eax
jne 0x1000245b
lea edx, [esp + 0x48]
push edx
jmp 0x100024b8