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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5f0344
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x64c874]
xor eax, esp
mov dword [esp + 0xb8], eax
push ebx
push esi
push edi
mov eax, dword [0x64c874]
xor eax, esp
push eax
lea eax, [esp + 0xd0]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], esi
mov dword [esp + 0xc4], 7
mov dword [esp + 0xc0], eax
mov word [esp + 0xb0], ax
mov dword [esp + 0xd8], eax
push eax
mov eax, 0x400
lea edi, [esp + 0xb0]
call fcn.004151a0
push 1
push esi
lea ecx, [esp + 0x28]
call fcn.00474790
push eax
mov edx, 0x6151ec
lea edi, [esp + 0x78]
mov byte [esp + 0xdc], 1
call fcn.00402c10
add esp, 4
push eax
mov ebx, 0x6151e8
lea esi, [esp + 0x94]
mov byte [esp + 0xdc], 2
call fcn.0040c140
add esp, 4
push 0xffffffffffffffff
xor ebx, ebx
push ebx
lea ecx, [esp + 0xb4]
mov byte [esp + 0xe0], 3
call fcn.00402580
mov esi, 8
cmp dword [esp + 0xa8], esi
jb 0x479d9a
mov eax, dword [esp + 0x94]
push eax
call fcn.0059b877
add esp, 4
cmp dword [esp + 0x8c], esi
mov edi, 7
mov dword [esp + 0xa8], edi
mov dword [esp + 0xa4], ebx
mov word [esp + 0x94], bx
jb 0x479dcb
mov ecx, dword [esp + 0x78]
push ecx
call fcn.0059b877
add esp, 4
mov byte [esp + 0xd8], bl
cmp dword [esp + 0x38], esi
mov dword [esp + 0x8c], edi
mov dword [esp + 0x88], ebx
mov word [esp + 0x78], bx
jb 0x479df8
mov edx, dword [esp + 0x24]
push edx
call fcn.0059b877
add esp, 4
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
push 1
lea ecx, [esp + 0xb0]
push ecx
mov ecx, dword [eax + 4]
call fcn.0047b8a0
mov edi, dword [esp + 0x10]
cmp byte [edi + 0x40], bl
je 0x479e33
cmp dword [esp + 0xc4], esi
jb 0x47a20e
mov edx, dword [esp + 0xb0]
push edx
jmp 0x47a206
mov ecx, edi
mov dword [esp + 0x18], ebx
call fcn.00428ee0
test eax, eax
jbe 0x47a122
mov dword [esp + 0x1c], ebx
lea ebx, [ebx]
mov eax, dword [edi + 4]
cmp eax, ebx
je 0x479e75
mov ecx, dword [edi + 8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x18], eax
jb 0x479e7a
call fcn.005b8b18
mov edi, dword [edi + 4]
add edi, dword [esp + 0x1c]
mov dword [esp + 0x8c], 7
mov dword [esp + 0x88], ebx
mov word [esp + 0x78], bx
lea esi, [esp + 0x20]
mov eax, edi
mov byte [esp + 0xd8], 4
call fcn.0046bd30
cmp dword [eax + 0x14], ebx
sete bl
cmp dword [esp + 0x38], 8
jb 0x479ec5
mov eax, dword [esp + 0x24]
push eax
call fcn.0059b877
add esp, 4
test bl, bl
je 0x479ede
push 1
push 0x614f70
lea esi, [esp + 0x7c]
call fcn.00402770
jmp 0x479f90
lea esi, [esp + 0x20]
mov eax, edi
call fcn.0046bd30
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x7c]
mov byte [esp + 0xe0], 5
call fcn.00402580
mov esi, 8
mov byte [esp + 0xd8], 4
cmp dword [esp + 0x38], esi
jb 0x479f1e
mov ecx, dword [esp + 0x24]
push ecx
call fcn.0059b877
add esp, 4
push 0x614bbc
lea edx, [esp + 0x78]
push 0x60a6b0
push edx
call fcn.0042b350
add esp, 0xc
push 0x614bb4
lea eax, [esp + 0x78]
push 0x60a6b4
push eax
call fcn.0042b350
lea ecx, [esp + 0x80]
add esp, 0xc
push ecx
lea ecx, [esp + 0x24]
call fcn.00429de0
add esp, 4
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x7c]
mov byte [esp + 0xe0], 6
call fcn.00402580
mov byte [esp + 0xd8], 4
cmp dword [esp + 0x38], esi
jb 0x479f90
mov edx, dword [esp + 0x24]
push edx
call fcn.0059b877
add esp, 4
mov eax, dword [esp + 0x8c]
cmp eax, 8
mov ebx, dword [esp + 0x78]
mov esi, ebx
jae 0x479fa6
lea esi, [esp + 0x78]
mov edx, dword [esp + 0x88]
lea esi, [esi + edx*2]
test esi, esi
je 0x479fd5
cmp eax, 8
mov ecx, ebx
jae 0x479fbf
lea ecx, [esp + 0x78]
cmp ecx, esi
ja 0x479fd5
cmp eax, 8
mov eax, ebx
jae 0x479fce
lea eax, [esp + 0x78]
lea eax, [eax + edx*2]
cmp esi, eax
jbe 0x479fda
call fcn.005b8b18
push esi
lea eax, [esp + 0x78]
push eax
push 0x3d
lea ecx, [esp + 0x50]
push ecx
call fcn.00437160
cmp byte [edi + 0x68], 0
je 0x47a055
mov edi, dword [esp + 0x8c]
cmp edi, 8
mov eax, dword [esp + 0x78]
mov esi, eax
jae 0x47a008
lea esi, [esp + 0x78]
mov edx, dword [esp + 0x88]
lea esi, [esi + edx*2]
test esi, esi
je 0x47a035
cmp edi, 8
mov ecx, eax
jae 0x47a021
lea ecx, [esp + 0x78]
cmp ecx, esi
ja 0x47a035
cmp edi, 8
jae 0x47a02e
lea eax, [esp + 0x78]
lea edx, [eax + edx*2]
cmp esi, edx
jbe 0x47a03a
call fcn.005b8b18
push esi
lea eax, [esp + 0x78]
push eax
push 0x2d
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x84]
call fcn.00437160
jmp 0x47a0c7
xor esi, esi
mov dword [esp + 0xa8], 7
mov dword [esp + 0xa4], esi
mov word [esp + 0x94], si
lea ecx, [esp + 0x90]
push ecx
mov ecx, edi
mov byte [esp + 0xdc], 7
call fcn.0046b580
test al, al
je 0x47a1a6
push esi
lea edx, [esp + 0x94]
push edx
or eax, 0xffffffff
lea esi, [esp + 0x7c]
call fcn.00402990
mov byte [esp + 0xd8], 4
cmp dword [esp + 0xa8], 8
jb 0x47a0c7
mov eax, dword [esp + 0x94]
push eax
call fcn.0059b877
add esp, 4
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov ecx, dword [eax + 4]
push 1
lea edx, [esp + 0x78]
push edx
call fcn.0047b8a0
mov byte [esp + 0xd8], 0
cmp dword [esp + 0x8c], 8
jb 0x47a0fb
mov eax, dword [esp + 0x78]
push eax
call fcn.0059b877
add esp, 4
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
add dword [esp + 0x1c], 0x70
add esi, 1
mov dword [esp + 0x18], esi
call fcn.00428ee0
mov edi, dword [esp + 0x10]
xor ebx, ebx
cmp esi, eax
jb 0x479e50
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
push ebx
lea edx, [ecx + 8]
push edx
call fcn.0047b8a0
xor esi, esi
jmp 0x47a140
mov eax, dword [edi + 0x14]
test eax, eax
je 0x47a1f4
mov ecx, dword [edi + 0x18]
sub ecx, eax
mov eax, 0x78787879
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jae 0x47a1f4
mov eax, dword [edi + 0x14]
test eax, eax
je 0x47a18a
mov ecx, dword [edi + 0x18]
sub ecx, eax
mov eax, 0x78787879
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x47a18f
call fcn.005b8b18
mov eax, dword [edi + 0x14]
mov ecx, dword [esp + 0x14]
add eax, ebx
push eax
call fcn.00479ca0
add esi, 1
add ebx, 0x44
jmp 0x47a140
push 0x10
push 0x6151f0
lea ecx, [esp + 0x28]
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], esi
mov byte [esp + 0x2c], 0
call fcn.0040b860
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x50]
mov byte [esp + 0xdc], 8
call fcn.00405320
push 0x62a770
lea edx, [esp + 0x50]
push edx
mov dword [esp + 0x54], 0x605080
call fcn.005bed88
cmp dword [esp + 0xc4], 8
jb 0x47a20e
mov ecx, dword [esp + 0xb0]
push ecx
call fcn.0059b877
add esp, 4
mov ecx, dword [esp + 0xd0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb8]
xor ecx, esp
call fcn.005b88a9
mov esp, ebp
pop ebp
ret 4