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

Disassembly:
sub esp, 0xa0
push ebx
push ebp
push esi
mov esi, dword [esp + 0xb4]
push edi
push 1
mov eax, dword [esi]
xor edi, edi
mov eax, dword [eax + 8]
push eax
call dword [eax + 0x14]
mov ecx, dword [esi]
mov ebx, eax
xor ebp, ebp
push 1
mov edx, dword [ecx + 8]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x24], ebp
mov eax, dword [edx + 8]
push eax
call dword [eax + 0x18]
add eax, 0xfffffff5
add esp, 0x10
cmp eax, 0x34
ja case.0x477bff.20
xor ecx, ecx
mov cl, byte [eax + 0x4784b8]
jmp dword [ecx*4 + 0x478490]
mov edx, dword [esi]
push 2
mov eax, dword [edx + 8]
mov eax, dword [eax + 8]
push eax
call dword [eax + 0x18]
add esp, 8
cmp eax, 7
je 0x477cb5
cmp eax, 0x72
je 0x477cae
mov ecx, dword [esi]
mov eax, dword [ecx + 4]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 0x20]
test edx, edx
jle 0x477c58
mov eax, dword [esp + 0xb4]
mov byte [ecx + 0x18], 1
mov edx, eax
pop edi
pop esi
mov dword [edx], ebx
mov dword [edx + 4], ebx
mov dword [edx + 8], ebp
pop ebp
pop ebx
add esp, 0xa0
ret
push eax
call dword [eax + 0x88]
mov eax, dword [esi]
add esp, 4
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 4]
mov dword [eax], 3
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
mov eax, dword [edx + 8]
mov ecx, dword [eax + 4]
mov dword [ecx + 8], 0x52d418
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 4]
mov dword [edx + 0x34], 0xd
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 4]
mov dword [eax + 0x38], 1
jmp case.default.0x477cfc
mov eax, 2
jmp 0x477cf2
mov eax, 1
jmp 0x477cf2
mov eax, 3
jmp 0x477cf2
mov eax, 4
jmp 0x477cf2
mov eax, 5
jmp 0x477cf2
mov eax, 6
jmp 0x477cf2
mov eax, 7
jmp 0x477cf2
mov eax, 8
jmp 0x477cf2
mov eax, 9
jmp 0x477cf2
mov eax, 0xa
dec eax
cmp eax, 9
ja case.default.0x477cfc
jmp dword [eax*4 + 0x4784f0]
mov eax, dword [esi + 0x1a0]
push eax
call dword [eax + 0x10]
mov ecx, dword [esi]
mov edi, eax
push 1
mov eax, dword [ecx + 8]
push eax
call dword [eax + 0x14]
mov edx, dword [esi]
push 1
mov eax, dword [edx + 8]
push eax
call dword [eax + 0x14]
mov dword [esp + 0x3c], eax
mov eax, dword [esi]
push 1
mov ecx, dword [eax + 8]
mov eax, dword [ecx + 8]
push eax
call dword [eax + 0x18]
add esp, 0x1c
cmp eax, 0x3e
jb 0x477e52
mov edx, dword [esi]
push 1
mov eax, dword [edx + 8]
mov eax, dword [eax + 8]
push eax
call dword [eax + 0x18]
add esp, 8
cmp eax, 0x3f
ja 0x477e52
mov ecx, dword [esi]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 8]
push eax
call dword [eax + 0x14]
mov eax, dword [esi]
add esp, 4
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 0x20]
test eax, eax
jne 0x477d9e
mov eax, dword [esp + 0x28]
mov ebp, dword [esi + 0x1a0]
push edi
push eax
push ebp
call dword [ebp + 0x40]
mov ecx, dword [esi + 0x1a0]
add esp, 8
push eax
push ecx
call dword [ebp + 0x34]
add esp, 0xc
mov edi, eax
mov edx, dword [esi]
push 0
push 0x5265c0
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
mov byte [ecx + 0x10], 0
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
mov byte [ecx + 0x18], 0
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
mov eax, dword [ecx + 0xc]
push eax
call dword [eax + 0x14]
lea edx, [esp + 0x8c]
push esi
push edx
call fcn.0047cab0
mov ecx, dword [eax]
mov dword [esp + 0x30], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x34], edx
mov ebp, dword [eax + 8]
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 0xc]
push eax
call dword [eax + 0xc]
mov eax, dword [esi]
add esp, 0x18
mov ecx, dword [eax + 4]
mov eax, dword [ecx + 8]
cmp byte [eax], 1
je case.default.0x477cfc
cmp byte [eax + 0x18], 1
jne 0x477e33
mov eax, dword [esp + 0xb4]
mov ecx, dword [esp + 0x18]
mov edx, eax
pop edi
pop esi
pop ebp
mov dword [edx], ebx
mov dword [edx + 4], ebx
pop ebx
mov dword [edx + 8], ecx
add esp, 0xa0
ret
mov ecx, dword [eax + 0x20]
test ecx, ecx
jne case.default.0x477cfc
mov eax, dword [esi + 0x1a0]
push ebp
push edi
push eax
call dword [eax + 0x1c]
add esp, 0xc
jmp case.default.0x477cfc
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 0x20]
test edx, edx
jle 0x477e81
mov eax, dword [esp + 0xb4]
mov byte [ecx + 0x18], 1
mov ecx, eax
pop edi
pop esi
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebp
pop ebp
pop ebx
add esp, 0xa0
ret
push eax
call dword [eax + 0x88]
mov edx, dword [esi]
push 0x5265b0
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 4]
mov dword [edx], 4
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 4]
mov dword [eax + 4], str.Mismatched_set
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
mov eax, dword [edx + 8]
mov ecx, dword [eax + 4]
mov dword [ecx + 0x20], 0x5265b0
mov edx, dword [esi]
mov eax, dword [edx + 4]
push eax
call dword [eax + 0x54]
add esp, 0xc
jmp case.default.0x477cfc
mov eax, dword [esi + 0x1a0]
push eax
call dword [eax + 0x10]
mov edi, eax
mov eax, dword [esi]
push 1
mov eax, dword [eax + 8]
push eax
call dword [eax + 0x14]
mov ecx, dword [esi]
push 1
mov eax, dword [ecx + 8]
push eax
call dword [eax + 0x14]
mov edx, dword [esi]
mov ebx, eax
push 1
mov eax, dword [edx + 8]
mov eax, dword [eax + 8]
push eax
call dword [eax + 0x18]
add esp, 0x1c
cmp eax, 0x3e
jb 0x4780d2
mov ecx, dword [esi]
push 1
mov edx, dword [ecx + 8]
mov eax, dword [edx + 8]
push eax
call dword [eax + 0x18]
add esp, 8
cmp eax, 0x3f
ja 0x4780d2
mov eax, dword [esi]
mov ecx, dword [eax + 8]
mov eax, dword [ecx + 8]
push eax
call dword [eax + 0x14]
mov edx, dword [esi]
add esp, 4
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
mov eax, dword [ecx + 0x20]
test eax, eax
jne 0x477f68
mov ebp, dword [esi + 0x1a0]
push edi
push ebx
push ebp
call dword [ebp + 0x40]
mov edx, dword [esi + 0x1a0]
add esp, 8
push eax
push edx
call dword [ebp + 0x34]
add esp, 0xc
mov edi, eax
mov eax, dword [esi]
push 0
push 0x5265f0
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 8]
mov byte [edx + 0x10], 0
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 8]
mov byte [edx + 0x18], 0
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 0xc]
push eax
call dword [eax + 0x14]
lea eax, [esp + 0xa4]
push esi
push eax
call fcn.0047d290
mov ecx, dword [eax]
mov dword [esp + 0x30], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x34], edx
mov ebp, dword [eax + 8]
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 0xc]
push eax
call dword [eax + 0xc]
mov eax, dword [esi]
add esp, 0x18
mov ecx, dword [eax + 4]
mov eax, dword [ecx + 8]
cmp byte [eax], 1
je case.default.0x477cfc
cmp byte [eax + 0x18], 1
jne 0x478001
mov eax, dword [esp + 0xb4]
mov ecx, dword [esp + 0x10]
mov edx, eax
pop edi
pop esi
pop ebp
mov dword [edx], ecx
pop ebx
mov dword [edx + 4], ecx
mov ecx, dword [esp + 8]
mov dword [edx + 8], ecx
add esp, 0xa0
ret
mov ecx, dword [eax + 0x20]
test ecx, ecx
jne 0x478017
mov eax, dword [esi + 0x1a0]
push ebp
push edi
push eax
call dword [eax + 0x1c]
add esp, 0xc
mov edx, dword [esi]
push 1
mov ebp, 2
mov eax, dword [edx + 8]
mov eax, dword [eax + 8]
push eax
call dword [eax + 0x18]
add esp, 8
cmp eax, 0x5f
jne 0x478037
mov ebp, 1
dec ebp
jne case.default.0x477cfc
mov ecx, dword [esi]
push 0x526608
push 0x5f
mov eax, dword [ecx + 4]
push eax
call dword [eax + 0x10]
mov edx, dword [esi]
add esp, 0xc
mov eax, dword [edx + 4]
mov eax, dword [eax + 8]
cmp byte [eax], 1
je case.default.0x477cfc
cmp byte [eax + 0x18], 1
je 0x477fdd
mov eax, dword [eax + 0xc]
push 0
push 0x526620
push eax
call dword [eax + 0x14]
lea ecx, [esp + 0x5c]
push esi
push ecx
call fcn.0047d290
mov edx, dword [eax]
mov dword [esp + 0x30], edx
mov edx, dword [esi]
mov ecx, dword [eax + 4]
mov dword [esp + 0x34], ecx
mov ebp, dword [eax + 8]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
mov eax, dword [ecx + 0xc]
push eax
call dword [eax + 0xc]
mov edx, dword [esi]
add esp, 0x18
mov eax, dword [edx + 4]
mov eax, dword [eax + 8]
cmp byte [eax], 1
je case.default.0x477cfc
cmp byte [eax + 0x18], 1
je 0x477fdd
mov ecx, dword [eax + 0x20]
test ecx, ecx
jne 0x478017
jmp 0x478008
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 0x20]
test edx, edx
jle 0x4780ea
mov byte [ecx + 0x18], 1
jmp 0x477fdd
push eax
call dword [eax + 0x88]
mov edx, dword [esi]
push 0x5265d8
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 4]
mov dword [edx], 4
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 4]
mov dword [eax + 4], str.Mismatched_set
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
mov eax, dword [edx + 8]
mov ecx, dword [eax + 4]
mov dword [ecx + 0x20], 0x5265d8
mov edx, dword [esi]
mov eax, dword [edx + 4]
push eax
call dword [eax + 0x54]
add esp, 0xc
jmp case.default.0x477cfc
mov eax, dword [esi + 0x1a0]
push eax
call dword [eax + 0x10]
mov edi, eax
mov eax, dword [esi]
push 0
push 0x526630
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 0xc]
push eax
call dword [eax + 0x14]
lea eax, [esp + 0x3c]
push esi
push eax
call fcn.00488620
mov ecx, dword [eax]
mov dword [esp + 0x34], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x38], edx
jmp 0x478332
mov eax, dword [esi + 0x1a0]
push eax
call dword [eax + 0x10]
mov edx, dword [esi]
mov edi, eax
push 0
push 0x526640
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
mov eax, dword [ecx + 0xc]
push eax
call dword [eax + 0x14]
lea edx, [esp + 0x78]
push esi
push edx
call fcn.0047dbb0
mov ecx, dword [eax]
mov dword [esp + 0x34], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x38], edx
jmp 0x478332
mov eax, dword [esi + 0x1a0]
push eax
call dword [eax + 0x10]
mov edx, dword [esi]
mov edi, eax
push 0
push 0x526650
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
mov eax, dword [ecx + 0xc]
push eax
call dword [eax + 0x14]
lea edx, [esp + 0x48]
push esi
push edx
call fcn.00480d30
mov ecx, dword [eax]
mov dword [esp + 0x34], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x38], edx
jmp 0x478332
mov eax, dword [esi + 0x1a0]
push eax
call dword [eax + 0x10]
mov edx, dword [esi]
mov edi, eax
push 0
push 0x526660
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
mov eax, dword [ecx + 0xc]
push eax
call dword [eax + 0x14]
lea edx, [esp + 0x54]
push esi
push edx
call fcn.00481790
mov ecx, dword [eax]
mov dword [esp + 0x34], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x38], edx
jmp 0x478332
mov eax, dword [esi + 0x1a0]
push eax
call dword [eax + 0x10]
mov edx, dword [esi]
mov edi, eax
push 0
push 0x526670
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
mov eax, dword [ecx + 0xc]
push eax
call dword [eax + 0x14]
lea edx, [esp + 0x6c]
push esi
push edx
call fcn.00483020
mov ecx, dword [eax]
mov dword [esp + 0x34], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x38], edx
jmp 0x478332
mov eax, dword [esi + 0x1a0]
push eax
call dword [eax + 0x10]
mov edx, dword [esi]
mov edi, eax
push 0
push 0x526680
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
mov eax, dword [ecx + 0xc]
push eax
call dword [eax + 0x14]
lea edx, [esp + 0x84]
push esi
push edx
call fcn.00486840
mov ecx, dword [eax]
mov dword [esp + 0x34], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x38], edx
jmp 0x478332
mov eax, dword [esi + 0x1a0]
push eax
call dword [eax + 0x10]
mov edx, dword [esi]
mov edi, eax
push 0
push 0x526690
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
mov eax, dword [ecx + 0xc]
push eax
call dword [eax + 0x14]
lea edx, [esp + 0x9c]
push esi
push edx
call fcn.00489c30
mov ecx, dword [eax]
mov dword [esp + 0x34], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x38], edx
jmp 0x478332
mov eax, dword [esi + 0x1a0]
push eax
call dword [eax + 0x10]
mov edx, dword [esi]
mov edi, eax
push 0
push 0x5266a0
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
mov eax, dword [ecx + 0xc]
push eax
call dword [eax + 0x14]
lea edx, [esp + 0xb4]
push esi
push edx
call fcn.00488040
mov ecx, dword [eax]
mov dword [esp + 0x34], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x38], edx
mov ebp, dword [eax + 8]
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 0xc]
push eax
call dword [eax + 0xc]
mov eax, dword [esi]
add esp, 0x1c
mov ecx, dword [eax + 4]
mov eax, dword [ecx + 8]
cmp byte [eax], 1
je case.default.0x477cfc
cmp byte [eax + 0x18], 1
jne 0x477e33
jmp 0x477e13
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 0x20]
test edx, edx
jg 0x477e61
push eax
call dword [eax + 0x88]
mov edx, dword [esi]
add esp, 4
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 4]
mov dword [edx], 3
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 4]
mov dword [eax + 8], 0x52d418
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
mov eax, dword [edx + 8]
mov ecx, dword [eax + 4]
mov dword [ecx + 0x34], 0xd
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 4]
mov dword [edx + 0x38], 0
mov eax, dword [esi]
push 0xffffffffffffffff
mov eax, dword [eax + 8]
push eax
call dword [eax + 0x14]
mov ebp, eax
mov eax, dword [esi]
add esp, 8
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 8]
mov ecx, dword [edx + 0x20]
test ecx, ecx
jne 0x478417
mov eax, dword [eax + 8]
push 0xffffffffffffffff
push eax
call dword [eax + 0x14]
mov ebp, eax
mov eax, dword [esi + 0x1a0]
push edi
push eax
call dword [eax + 0x38]
mov ebx, dword [esp + 0x20]
mov edi, eax
mov eax, dword [esi + 0x1a0]
push ebp
push ebx
push edi
push eax
call dword [eax + 0x90]
add esp, 0x20
jmp 0x47841f
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov ecx, dword [eax + 8]
cmp byte [ecx], 1
jne 0x478471
push eax
call dword [eax + 0x24]
mov edx, dword [esi]
mov eax, dword [edx + 4]
push eax
call dword [eax + 0x30]
mov eax, dword [esi]
mov edi, dword [esi + 0x1a0]
add esp, 8
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
mov edx, dword [eax + 8]
mov eax, dword [edx + 4]
push eax
push 0xffffffffffffffff
push ecx
call dword [ecx + 0x14]
mov ecx, dword [esi]
add esp, 8
mov edx, dword [ecx + 8]
push eax
mov eax, dword [esi + 0x1a0]
push ebx
push edx
push eax
call dword [edi + 0x2c]
add esp, 0x14
mov edi, eax
mov eax, dword [esp + 0xb4]
mov ecx, eax
mov dword [ecx], ebx
mov dword [ecx + 4], ebp
mov dword [ecx + 8], edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret