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

Disassembly:
sub esp, 0x48
mov eax, dword [esp + 0x4c]
push ebx
xor ebx, ebx
push ebp
push esi
cmp eax, ebx
push edi
mov dword [esp + 0x14], ecx
jne 0x10002470
mov esi, 0x401000
mov dword [esp + 0x5c], esi
jmp 0x10002476
mov dword [esp + 0x5c], eax
mov esi, eax
mov eax, dword [esp + 0x60]
cmp eax, ebx
jne 0x10002484
mov eax, dword [ecx + 0x150]
mov edx, eax
mov dword [esp + 0x24], eax
push edx
push esi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], 1
call fcn.10002700
mov ebp, dword [esp + 0x64]
mov dword [esp + 0x38], eax
mov dword [esp + 0x30], esi
jmp 0x100024af
mov esi, dword [esp + 0x5c]
lea eax, [esp + 0x3c]
push 0x1c
push eax
push esi
mov dword [esp + 0x48], esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
mov eax, dword [esp + 0x74]
test eax, eax
je 0x10002500
mov ecx, dword [esp + 0x78]
lea esi, [esp + 0x3c]
push ecx
mov ecx, 7
sub esp, 0x1c
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x34]
call fcn.100023c0
test eax, eax
jne 0x10002532
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x5c]
lea ecx, [eax + edx + 1]
mov dword [esp + 0x5c], ecx
jmp 0x100026db
sub esp, 0x1c
mov ecx, 7
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x30]
call fcn.10002370
test eax, eax
jne 0x10002532
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x5c]
lea ecx, [eax + edx + 1]
mov dword [esp + 0x5c], ecx
jmp 0x100026db
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x30]
xor esi, esi
add ebx, eax
cmp edx, ecx
mov dword [esp + 0x60], esi
mov dword [esp + 0x2c], 1
mov dword [esp + 0x20], ebx
jae 0x1000257e
sub ecx, edx
sub eax, ecx
add edx, ecx
add ebx, eax
mov dword [esp + 0x60], ecx
push ebx
push edx
mov dword [esp + 0x28], ebx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
mov eax, dword [esp + 0x48]
jne 0x100026a1
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x60]
jmp 0x1000258c
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 0x64]
test esi, esi
je 0x10002592
sub eax, ecx
add ecx, edx
mov dword [esp + 0x64], eax
mov dword [esp + 0x1c], ecx
xor eax, eax
mov edx, dword [ebp]
mov edi, dword [esp + 0x64]
mov ecx, dword [ebp + 8]
mov esi, dword [esp + 0x68]
push edx
mov edx, edi
push ecx
mov ecx, dword [esp + 0x24]
sub edx, esi
push edx
push ecx
mov ecx, dword [esp + 0x24]
push eax
call fcn.10001fe0
mov ebx, eax
cmp ebx, 0xffffffff
je 0x1000266d
mov edx, dword [ebp]
lea eax, [edx + ebx + 2]
mov dword [esp + 0x34], eax
mov eax, 1
cmp esi, eax
mov dword [esp + 0x28], eax
jbe 0x10002631
mov edx, dword [esp + 0x1c]
lea ecx, [eax + eax*2]
mov esi, dword [ebp + ecx*4 + 4]
lea edi, [ebp + ecx*4]
add esi, edx
mov edx, dword [edi]
add esi, ebx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1000261b
mov eax, dword [edi]
mov ecx, dword [edi + 8]
push eax
push ecx
mov ecx, dword [esp + 0x1c]
push esi
call fcn.100028a0
test eax, eax
je 0x10002664
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x68]
inc eax
mov dword [esp + 0x28], eax
and eax, 0xffff
cmp eax, ecx
jb 0x100025e5
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
and ecx, 0xffff
lea eax, [edx + ebx]
mov edx, dword [esp + 0x6c]
cmp eax, ebp
mov dword [edx + ecx*4], eax
je 0x10002651
inc dword [esp + 0x10]
mov eax, dword [ebp]
mov ecx, dword [esp + 0x60]
add eax, ebx
lea edx, [ecx + eax + 1]
mov dword [esp + 0x60], edx
jmp 0x10002671
mov eax, dword [esp + 0x34]
jmp 0x1000259e
add dword [esp + 0x60], edi
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x60]
cmp ecx, eax
jb 0x10002685
mov dword [esp + 0x2c], 0
mov dx, word [esp + 0x10]
cmp dx, word [esp + 0x70]
jae 0x1000269d
mov edx, dword [esp + 0x2c]
test edx, edx
jne 0x10002584
mov ebx, dword [esp + 0x20]
cmp ebx, dword [esp + 0x38]
jb 0x100026af
xor ecx, ecx
mov dword [esp + 0x18], ecx
jmp 0x100026b1
xor ecx, ecx
mov dx, word [esp + 0x70]
cmp word [esp + 0x10], dx
jb 0x100026c1
mov dword [esp + 0x18], ecx
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x5c]
cmp esi, edx
jb 0x100026d1
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x3c]
add eax, ecx
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x100024ab
mov ax, word [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret 0x20