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

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
test esi, esi
jne 0x4790eb
xor eax, eax
jmp 0x479485
push ebx
mov ecx, edi
call fcn.00438614
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [edi + 0x41c]
mov dword [ecx], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x20]
mov ecx, dword [edi + 0x41c]
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], edx
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
mov ecx, dword [edi + 0x41c]
mov dword [ecx + 4], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10]
mov ecx, dword [edi + 0x41c]
mov word [ecx + 0x34], ax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x94]
mov ebx, eax
mov eax, dword [esi]
mov ecx, esi
shl ebx, 0x18
call dword [eax + 0x8c]
and eax, 0xffffff
mov ecx, esi
or ebx, eax
mov eax, dword [edi + 0x41c]
mov dword [eax + 0x10], ebx
mov eax, dword [esi]
call dword [eax + 0x74]
mov ecx, dword [edi + 0x41c]
mov dword [ecx + 0x14], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x64]
mov ecx, dword [edi + 0x41c]
mov dword [ecx + 0x18], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x68]
mov ecx, dword [edi + 0x41c]
mov dword [ecx + 0x1c], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x6c]
mov ecx, dword [edi + 0x41c]
mov dword [ecx + 0x20], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x70]
mov ecx, dword [edi + 0x41c]
mov dword [ecx + 0x24], eax
mov eax, dword [esi]
and dword [ebp + 8], 0
lea ecx, [ebp + 8]
push ecx
push 0x1001
mov ecx, esi
call dword [eax + 0xe4]
test al, al
je 0x47926c
mov ecx, dword [ebp + 8]
push 4
call fcn.0046b00e
test eax, eax
je 0x4791ea
push 0x10
mov ecx, eax
call fcn.0042457e
movzx eax, ax
jmp 0x4791ec
xor eax, eax
mov ecx, dword [edi + 0x41c]
push 5
mov word [ecx + 0x28], ax
mov ecx, dword [ebp + 8]
call fcn.0046b00e
test eax, eax
je 0x479212
push 0x10
mov ecx, eax
call fcn.0042457e
movzx eax, ax
jmp 0x479214
xor eax, eax
mov ecx, dword [edi + 0x41c]
mov word [ecx + 0x2a], ax
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
call dword [eax + 0x7c]
mov ecx, dword [edi + 0x41c]
mov byte [ecx + 0x38], al
mov ecx, dword [ebp + 8]
call fcn.00430cb7
mov ebx, eax
test ebx, ebx
je 0x47927c
mov ecx, ebx
call fcn.00465e58
mov ecx, dword [edi + 0x41c]
mov dword [ecx + 0x49], eax
mov eax, dword [edi + 0x41c]
mov ecx, dword [eax]
cmp ecx, dword [eax + 0x49]
jne 0x47927c
mov ecx, ebx
call fcn.00465eb3
mov ecx, dword [edi + 0x41c]
mov dword [ecx + 0x4d], eax
jmp 0x47927c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x78]
mov ecx, dword [edi + 0x41c]
mov dword [ecx + 0x28], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
cmp eax, 1
jb 0x479322
cmp eax, 0x493df
ja 0x479322
mov eax, dword [esi]
lea ecx, [ebp - 4]
push ecx
push 0x1040
mov ecx, esi
call dword [eax + 0xe4]
test al, al
jne 0x4792d1
push 0x5b
push 0x518600
push 0x50c734
push 0x509ec4
push 0x508530
call fcn.00401466
add esp, 0x14
jmp 0x47936f
mov eax, dword [ebp - 4]
push 4
mov ecx, dword [eax + 0x34]
mov eax, dword [ecx]
call dword [eax + 0xc]
cmp eax, 9
mov eax, dword [esi]
mov ecx, esi
jne 0x479311
call dword [eax + 0x2c]
push 0x64
xor edx, edx
pop ecx
div ecx
mov ecx, dword [edi + 0x41c]
push 0xe
mov word [ecx + 0x2c], ax
mov ecx, dword [ebp - 4]
call fcn.00410679
mov ecx, dword [edi + 0x41c]
mov word [ecx + 0x2e], ax
jmp 0x47936f
call dword [eax + 0x2c]
mov ecx, dword [edi + 0x41c]
push 0x19
mov word [ecx + 0x2c], ax
jmp 0x4792fd
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
cmp eax, 0x61a81
jb 0x479337
cmp eax, 0xaae5f
jbe 0x479345
cmp eax, 0xaae61
jb 0x47935f
cmp eax, 0xc34ff
ja 0x47935f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x2c]
mov ecx, dword [edi + 0x41c]
mov word [ecx + 0x2c], ax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x28]
jmp 0x479305
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x7c]
mov ecx, dword [edi + 0x41c]
mov dword [ecx + 0x2c], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
cmp eax, 0xf4240
jb 0x479395
cmp eax, 0xee6b27ff
ja 0x479395
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x28]
mov ecx, dword [edi + 0x41c]
mov word [ecx + 0x3a], ax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
mov ecx, dword [edi + 0x41c]
mov word [ecx + 0x30], ax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
mov ecx, dword [edi + 0x41c]
mov word [ecx + 0x32], ax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
mov ecx, dword [edi + 0x41c]
mov byte [ecx + 0x36], al
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x24]
mov ecx, dword [edi + 0x41c]
mov byte [ecx + 0x37], al
mov eax, dword [edi + 0x41c]
mov cl, byte [ebp + 0xc]
mov byte [eax + 0x3c], cl
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xa0]
mov ecx, dword [edi + 0x41c]
mov dword [ecx + 0x3d], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xa4]
mov ecx, dword [edi + 0x41c]
mov dword [ecx + 0x41], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xa8]
mov ecx, dword [edi + 0x41c]
mov dword [ecx + 0x45], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xac]
mov ecx, dword [edi + 0x41c]
mov word [ecx + 0x51], ax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xb0]
mov ecx, dword [edi + 0x41c]
mov word [ecx + 0x53], ax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xb4]
mov ecx, dword [edi + 0x41c]
lea ebx, [edi + 0x420]
mov word [ecx + 0x55], ax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
push eax
mov ecx, ebx
call fcn.004b430d
mov ecx, ebx
mov dword [edi + 4], 0x3f6
call fcn.004b4418
add eax, 0x57
push 1
mov dword [edi + 8], eax
pop eax
pop ebx
pop edi
pop esi
leave
ret 8