Function at 0x477c10
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.0x477c5f.20
xor ecx, ecx
mov cl, byte [eax + 0x478518]
jmp dword [ecx*4 + 0x4784f0]
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 0x477d15
cmp eax, 0x72
je 0x477d0e
mov ecx, dword [esi]
mov eax, dword [ecx + 4]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 0x20]
test edx, edx
jle 0x477cb8
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], 0x52e3b8
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.0x477d5c
mov eax, 2
jmp 0x477d52
mov eax, 1
jmp 0x477d52
mov eax, 3
jmp 0x477d52
mov eax, 4
jmp 0x477d52
mov eax, 5
jmp 0x477d52
mov eax, 6
jmp 0x477d52
mov eax, 7
jmp 0x477d52
mov eax, 8
jmp 0x477d52
mov eax, 9
jmp 0x477d52
mov eax, 0xa
dec eax
cmp eax, 9
ja case.default.0x477d5c
jmp dword [eax*4 + 0x478550]
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 0x477eb2
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 0x477eb2
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 0x477dfe
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 0x527560
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.0047cb10
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.0x477d5c
cmp byte [eax + 0x18], 1
jne 0x477e93
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.0x477d5c
mov eax, dword [esi + 0x1a0]
push ebp
push edi
push eax
call dword [eax + 0x1c]
add esp, 0xc
jmp case.default.0x477d5c
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 0x20]
test edx, edx
jle 0x477ee1
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 0x527550
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], 0x527550
mov edx, dword [esi]
mov eax, dword [edx + 4]
push eax
call dword [eax + 0x54]
add esp, 0xc
jmp case.default.0x477d5c
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 0x478132
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 0x478132
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 0x477fc8
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 0x527590
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.0047d2f0
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.0x477d5c
cmp byte [eax + 0x18], 1
jne 0x478061
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 0x478077
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 0x478097
mov ebp, 1
dec ebp
jne case.default.0x477d5c
mov ecx, dword [esi]
push 0x5275a8
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.0x477d5c
cmp byte [eax + 0x18], 1
je 0x47803d
mov eax, dword [eax + 0xc]
push 0
push 0x5275c0
push eax
call dword [eax + 0x14]
lea ecx, [esp + 0x5c]
push esi
push ecx
call fcn.0047d2f0
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.0x477d5c
cmp byte [eax + 0x18], 1
je 0x47803d
mov ecx, dword [eax + 0x20]
test ecx, ecx
jne 0x478077
jmp 0x478068
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 0x20]
test edx, edx
jle 0x47814a
mov byte [ecx + 0x18], 1
jmp 0x47803d
push eax
call dword [eax + 0x88]
mov edx, dword [esi]
push 0x527578
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], 0x527578
mov edx, dword [esi]
mov eax, dword [edx + 4]
push eax
call dword [eax + 0x54]
add esp, 0xc
jmp case.default.0x477d5c
mov eax, dword [esi + 0x1a0]
push eax
call dword [eax + 0x10]
mov edi, eax
mov eax, dword [esi]
push 0
push 0x5275d0
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.00488680
mov ecx, dword [eax]
mov dword [esp + 0x34], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x38], edx
jmp 0x478392
mov eax, dword [esi + 0x1a0]
push eax
call dword [eax + 0x10]
mov edx, dword [esi]
mov edi, eax
push 0
push 0x5275e0
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.0047dc10
mov ecx, dword [eax]
mov dword [esp + 0x34], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x38], edx
jmp 0x478392
mov eax, dword [esi + 0x1a0]
push eax
call dword [eax + 0x10]
mov edx, dword [esi]
mov edi, eax
push 0
push 0x5275f0
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.00480d90
mov ecx, dword [eax]
mov dword [esp + 0x34], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x38], edx
jmp 0x478392
mov eax, dword [esi + 0x1a0]
push eax
call dword [eax + 0x10]
mov edx, dword [esi]
mov edi, eax
push 0
push 0x527600
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.004817f0
mov ecx, dword [eax]
mov dword [esp + 0x34], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x38], edx
jmp 0x478392
mov eax, dword [esi + 0x1a0]
push eax
call dword [eax + 0x10]
mov edx, dword [esi]
mov edi, eax
push 0
push 0x527610
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.00483080
mov ecx, dword [eax]
mov dword [esp + 0x34], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x38], edx
jmp 0x478392
mov eax, dword [esi + 0x1a0]
push eax
call dword [eax + 0x10]
mov edx, dword [esi]
mov edi, eax
push 0
push 0x527620
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.004868a0
mov ecx, dword [eax]
mov dword [esp + 0x34], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x38], edx
jmp 0x478392
mov eax, dword [esi + 0x1a0]
push eax
call dword [eax + 0x10]
mov edx, dword [esi]
mov edi, eax
push 0
push 0x527630
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.00489c90
mov ecx, dword [eax]
mov dword [esp + 0x34], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x38], edx
jmp 0x478392
mov eax, dword [esi + 0x1a0]
push eax
call dword [eax + 0x10]
mov edx, dword [esi]
mov edi, eax
push 0
push 0x527640
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.004880a0
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.0x477d5c
cmp byte [eax + 0x18], 1
jne 0x477e93
jmp 0x477e73
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 0x20]
test edx, edx
jg 0x477ec1
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], 0x52e3b8
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 0x478477
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 0x47847f
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 0x4784d1
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