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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov edx, dword [esi + 4]
mov eax, dword [esi]
mov eax, dword [edx + eax]
lea edx, [edi + 0xc]
mov dword [edi], eax
add dword [esi + 4], 4
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov eax, dword [ecx + eax]
mov dword [edi + 4], eax
add dword [esi + 4], 4
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov eax, dword [ecx + eax]
mov ecx, esi
mov dword [edi + 8], eax
add dword [esi + 4], 4
call fcn.0048a570
mov eax, dword [esi + 4]
mov ecx, dword [esi]
mov edx, dword [0x4fc0f8]
mov eax, dword [ecx + eax]
mov dword [edi + 0x2c], eax
add dword [esi + 4], 4
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov eax, dword [ecx + eax]
mov dword [edi + 0x30], eax
add dword [esi + 4], 4
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov eax, dword [ecx + eax]
mov dword [edi + 0x34], eax
add dword [esi + 4], 4
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov eax, dword [ecx + eax]
mov dword [edi + 0x38], eax
mov ecx, dword [esi + 4]
add ecx, 4
mov dword [esi + 4], ecx
cmp edx, 0x3ee
jl 0x4908d0
mov eax, dword [esi]
mov eax, dword [ecx + eax]
mov dword [edi + 0x3c], eax
add dword [esi + 4], 4
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov eax, dword [ecx + eax]
mov dword [edi + 0x40], eax
add dword [esi + 4], 4
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov eax, dword [ecx + eax]
mov dword [edi + 0x10], eax
add dword [esi + 4], 4
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov eax, dword [ecx + eax]
mov dword [edi + 0x14], eax
add dword [esi + 4], 4
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov eax, dword [ecx + eax]
mov dword [edi + 0x18], eax
add dword [esi + 4], 4
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov eax, dword [ecx + eax]
mov dword [edi + 0x1c], eax
add dword [esi + 4], 4
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov eax, dword [ecx + eax]
mov dword [edi + 0x20], eax
mov ecx, dword [esi + 4]
add ecx, 4
mov dword [esi + 4], ecx
cmp edx, 0x404
jl 0x49094f
mov eax, dword [esi]
mov eax, dword [ecx + eax]
mov dword [edi + 0x24], eax
add dword [esi + 4], 4
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov eax, dword [ecx + eax]
mov dword [edi + 0x28], eax
add dword [esi + 4], 4
cmp edx, 0x40a
jge 0x49095e
mov dword [edi + 0x1c], 0
mov eax, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [ecx + eax]
mov dword [edi + 0x44], eax
add dword [esi + 4], 4
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov eax, dword [ecx + eax]
mov dword [edi + 0x48], eax
add dword [esi + 4], 4
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov eax, dword [ecx + eax]
mov dword [edi + 0x4c], eax
mov ecx, dword [esi + 4]
add ecx, 4
mov dword [esi + 4], ecx
cmp edx, 0x415
jl 0x4909a7
mov eax, dword [esi]
mov eax, dword [ecx + eax]
mov dword [edi + 0x50], eax
add dword [esi + 4], 4
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov eax, dword [ecx + eax]
mov dword [edi + 0x58], eax
mov ecx, dword [esi + 4]
add ecx, 4
mov dword [esi + 4], ecx
cmp edx, 0x3f4
jl 0x4909cf
mov eax, dword [esi]
mov eax, dword [ecx + eax]
mov dword [edi + 0x5c], eax
add dword [esi + 4], 4
mov ecx, dword [esi + 4]
mov eax, dword [esi]
lea edx, [edi + 0x68]
mov eax, dword [ecx + eax]
mov dword [edi + 0x54], eax
add dword [esi + 4], 4
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov eax, dword [ecx + eax]
mov dword [edi + 0x60], eax
add dword [esi + 4], 4
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov eax, dword [ecx + eax]
mov ecx, esi
mov dword [edi + 0x64], eax
add dword [esi + 4], 4
call fcn.0048a570
cmp dword [0x4fc0f8], 0x40d
jl 0x490a28
mov ecx, dword [esi]
lea edx, [edi + 0x70]
mov eax, dword [esi + 4]
mov eax, dword [ecx + eax]
mov ecx, esi
mov dword [edi + 0x6c], eax
add dword [esi + 4], 4
call fcn.0048a570
lea edx, [edi + 0x74]
mov ecx, esi
call fcn.0048a570
lea edx, [edi + 0x78]
mov ecx, esi
call fcn.0048a570
mov eax, dword [esi + 4]
mov ecx, dword [esi]
mov edx, dword [0x4fc0f8]
mov eax, dword [ecx + eax]
mov dword [edi + 0x7c], eax
add dword [esi + 4], 4
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov eax, dword [ecx + eax]
mov dword [edi + 0x80], eax
add dword [esi + 4], 4
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov eax, dword [ecx + eax]
mov dword [edi + 0x84], eax
add dword [esi + 4], 4
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov eax, dword [ecx + eax]
mov dword [edi + 0x88], eax
add dword [esi + 4], 4
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov eax, dword [ecx + eax]
mov dword [edi + 0x8c], eax
add dword [esi + 4], 4
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov eax, dword [ecx + eax]
mov dword [edi + 0x90], eax
mov ecx, dword [esi + 4]
add ecx, 4
mov dword [esi + 4], ecx
cmp edx, 0x4ff
jl 0x490aca
mov eax, dword [esi]
mov eax, dword [ecx + eax]
mov dword [edi + 0x94], eax
add dword [esi + 4], 4
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov eax, dword [ecx + eax]
mov dword [edi + 0x98], eax
mov ecx, dword [esi + 4]
add ecx, 4
mov dword [esi + 4], ecx
cmp edx, 0x40f
jl 0x490af8
mov eax, dword [esi]
mov eax, dword [ecx + eax]
mov dword [edi + 0x9c], eax
add dword [esi + 4], 4
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov eax, dword [ecx + eax]
mov dword [edi + 0xa0], eax
add dword [esi + 4], 4
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov eax, dword [ecx + eax]
mov dword [edi + 0xa4], eax
add dword [esi + 4], 4
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov eax, dword [ecx + eax]
mov dword [edi + 0xa8], eax
add dword [esi + 4], 4
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov eax, dword [ecx + eax]
mov dword [edi + 0xac], eax
mov ecx, dword [esi + 4]
add ecx, 4
mov dword [esi + 4], ecx
cmp edx, 0x3f5
jl 0x490b5b
mov eax, dword [esi]
mov eax, dword [ecx + eax]
mov dword [edi + 0xb0], eax
add dword [esi + 4], 4
jmp 0x490b65
mov dword [edi + 0xb0], 0
cmp edx, 0x41e
jl 0x490b81
mov eax, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [ecx + eax]
mov dword [edi + 0xb4], eax
add dword [esi + 4], 4
jmp 0x490b8b
mov dword [edi + 0xb4], 0
cmp edx, 0x4a7
jl 0x490bc9
mov eax, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [ecx + eax]
mov dword [edi + 0xb8], eax
add dword [esi + 4], 4
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov eax, dword [ecx + eax]
mov dword [edi + 0xbc], eax
add dword [esi + 4], 4
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov eax, dword [ecx + eax]
mov dword [edi + 0xc0], eax
add dword [esi + 4], 4
cmp edx, 0x4c9
jl 0x490c19
mov eax, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [ecx + eax]
mov dword [edi + 0xc4], eax
add dword [esi + 4], 4
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov eax, dword [ecx + eax]
mov dword [edi + 0xc8], eax
add dword [esi + 4], 4
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov eax, dword [ecx + eax]
mov dword [edi + 0xcc], eax
add dword [esi + 4], 4
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov eax, dword [ecx + eax]
mov dword [edi + 0xd0], eax
add dword [esi + 4], 4
cmp edx, 0x4cc
jl 0x490c52
mov eax, dword [esi + 4]
lea edx, [edi + 0xdc]
mov ecx, dword [esi]
mov eax, dword [ecx + eax]
mov dword [edi + 0xd4], eax
add dword [esi + 4], 4
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov eax, dword [ecx + eax]
mov ecx, esi
mov dword [edi + 0xd8], eax
add dword [esi + 4], 4
call fcn.0048a570
mov edx, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
lea ebx, [edi + 0xe0]
mov dword [ebp + 8], 0xa
mov eax, dword [ebx]
test eax, eax
je 0x490c7d
push eax
push 0
call edx
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov edx, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov edi, dword [ecx + eax]
lea eax, [ecx + 4]
mov dword [esi + 4], eax
test edi, edi
jne 0x490c93
xor eax, eax
jmp 0x490cb8
push edi
push 8
call edx
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [esi]
add ecx, dword [esi + 4]
push edi
push ecx
push eax
mov dword [ebp - 4], eax
call fcn.0049a220
mov eax, dword [ebp - 4]
add esp, 0xc
add dword [esi + 4], edi
mov edx, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov dword [ebx], eax
add ebx, 4
sub dword [ebp + 8], 1
jne 0x490c65
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4