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

Disassembly:
sub esp, 0xa0
push ebx
push ebp
push esi
mov esi, dword [esp + 0xb4]
push edi
mov eax, dword [esi]
mov ecx, dword [eax + 8]
mov eax, dword [ecx + 8]
push eax
call dword [eax + 0x20]
mov edx, dword [esi]
mov dword [esp + 0x2c], eax
add esp, 4
xor edi, edi
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 0x20]
test edx, edx
jle 0x474ca8
push 7
push eax
call dword [eax + 0x74]
add esp, 8
test al, al
je 0x474ca8
mov eax, dword [esp + 0xb4]
xor ecx, ecx
mov edx, eax
pop edi
pop esi
pop ebp
mov dword [edx], ecx
mov ecx, dword [esp + 8]
pop ebx
mov dword [edx + 4], ecx
mov ecx, dword [esp + 8]
mov dword [edx + 8], ecx
add esp, 0xa0
ret
mov edx, dword [esi]
push 1
mov eax, dword [edx + 8]
push eax
call dword [eax + 0x14]
mov ebx, eax
mov eax, dword [esi]
push 0x5499c0
xor ebp, ebp
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x24], ebp
mov edx, dword [ecx + 8]
push edx
push eax
push esi
call dword [0x5499d0]
mov ecx, dword [esi]
add esp, 0x18
mov edx, dword [ecx + 4]
mov ecx, dword [edx + 8]
cmp byte [ecx], 1
je case.default.0x474d1c
cmp byte [ecx + 0x18], 1
jne 0x474d12
mov eax, dword [esp + 0xb4]
mov edx, dword [esp + 0x14]
mov ecx, eax
pop edi
pop esi
mov dword [ecx], ebx
mov dword [ecx + 4], edx
mov dword [ecx + 8], ebp
pop ebp
pop ebx
add esp, 0xa0
ret
dec eax
cmp eax, 9
ja case.default.0x474d1c
jmp dword [eax*4 + 0x475568]
mov eax, dword [esi + 0x1ec]
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 0x474e6a
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 0x474e6a
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 0x474db8
mov ebp, dword [esi + 0x1ec]
push edi
push ebx
push ebp
call dword [ebp + 0x3c]
mov edx, dword [esi + 0x1ec]
add esp, 8
push eax
push edx
call dword [ebp + 0x30]
add esp, 0xc
mov edi, eax
mov eax, dword [esi]
push 0
push 0x546228
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 + 0x8c]
push esi
push eax
call fcn.004784a0
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 0x474ecf
cmp byte [eax + 0x18], 1
jne 0x474e55
mov eax, dword [esp + 0xb4]
mov ecx, dword [esp + 0x10]
mov edx, eax
pop edi
pop esi
pop ebp
mov dword [edx], ecx
mov ecx, dword [esp + 8]
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 0x474ecf
mov eax, dword [esi + 0x1ec]
push ebp
push edi
push eax
call dword [eax + 0x1c]
jmp 0x474ecc
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 0x20]
test edx, edx
jle 0x474e82
mov byte [ecx + 0x18], 1
jmp 0x4750bc
push eax
call dword [eax + 0x88]
mov eax, dword [esi]
push 0x546218
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 4]
mov dword [eax], 4
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
mov eax, dword [edx + 8]
mov ecx, dword [eax + 4]
mov dword [ecx + 4], str.Mismatched_set
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 4]
mov dword [edx + 0x20], 0x546218
mov eax, dword [esi]
mov eax, dword [eax + 4]
push eax
call dword [eax + 0x54]
add esp, 0xc
mov ebx, dword [esp + 0x10]
mov edx, dword [esi]
push 0xffffffffffffffff
mov eax, dword [edx + 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 0x474f21
mov eax, dword [eax + 8]
push 0xffffffffffffffff
push eax
call dword [eax + 0x14]
mov ebp, eax
mov eax, dword [esi + 0x1ec]
push edi
push eax
call dword [eax + 0x34]
mov ecx, eax
mov eax, dword [esi + 0x1ec]
push ebp
push ebx
push ecx
push eax
mov dword [esp + 0x38], ecx
call dword [eax + 0x8c]
add esp, 0x20
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov ecx, dword [eax + 8]
cmp byte [ecx], 1
jne 0x474f75
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 + 0x1ec]
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 + 0x1ec]
push ebx
push edx
push eax
call dword [edi + 0x28]
add esp, 0x14
mov dword [esp + 0x18], eax
mov ecx, dword [esi]
mov eax, dword [ecx + 4]
mov edx, dword [eax + 8]
mov ecx, dword [edx + 0x20]
test ecx, ecx
jle 0x474f92
mov ecx, dword [esp + 0x28]
push ecx
push 7
push eax
call dword [eax + 0x78]
add esp, 0xc
mov eax, dword [esp + 0xb4]
mov ecx, dword [esp + 0x18]
mov edx, eax
pop edi
pop esi
mov dword [edx], ebx
mov dword [edx + 4], ebp
pop ebp
pop ebx
mov dword [edx + 8], ecx
add esp, 0xa0
ret
mov eax, dword [esi + 0x1ec]
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 ebx, 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 0x4751ff
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 0x4751ff
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 0x475047
mov ebp, dword [esi + 0x1ec]
push edi
push ebx
push ebp
call dword [ebp + 0x3c]
add esp, 8
push eax
mov eax, dword [esi + 0x1ec]
push eax
call dword [ebp + 0x30]
add esp, 0xc
mov edi, eax
mov ecx, dword [esi]
push 0
push 0x546258
mov edx, dword [ecx + 4]
mov eax, dword [edx + 8]
mov byte [eax + 0x10], 0
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
mov eax, dword [edx + 8]
mov byte [eax + 0x18], 0
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
mov eax, dword [edx + 8]
mov eax, dword [eax + 0xc]
push eax
call dword [eax + 0x14]
lea ecx, [esp + 0xa4]
push esi
push ecx
call fcn.00478d10
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 0x474ecf
cmp byte [eax + 0x18], 1
jne 0x4750e4
mov eax, dword [esp + 0xb4]
mov edx, dword [esp + 0x10]
mov ecx, eax
pop edi
pop esi
pop ebp
mov dword [ecx], edx
mov edx, dword [esp + 8]
pop ebx
mov dword [ecx + 4], edx
mov edx, dword [esp + 8]
mov dword [ecx + 8], edx
add esp, 0xa0
ret
mov ecx, dword [eax + 0x20]
test ecx, ecx
jne 0x4750fa
mov eax, dword [esi + 0x1ec]
push ebp
push edi
push eax
call dword [eax + 0x1c]
add esp, 0xc
mov eax, dword [esi]
push 0x5499f0
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
mov edx, dword [ecx + 8]
push edx
push eax
push esi
call dword [0x549a00]
mov ecx, dword [esi]
add esp, 0x10
mov ecx, dword [ecx + 4]
mov edx, dword [ecx + 8]
cmp byte [edx], 1
je 0x474ecf
cmp byte [edx + 0x18], 1
je 0x474e2d
dec eax
jne 0x474ecf
push 0x546270
push 0x5e
push ecx
call dword [ecx + 0x10]
mov edx, dword [esi]
add esp, 0xc
mov eax, dword [edx + 4]
mov eax, dword [eax + 8]
cmp byte [eax], 1
je 0x474ecf
cmp byte [eax + 0x18], 1
je 0x474e2d
mov eax, dword [eax + 0xc]
push 0
push 0x546288
push eax
call dword [eax + 0x14]
lea ecx, [esp + 0x5c]
push esi
push ecx
call fcn.00478d10
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 0x474ecf
cmp byte [eax + 0x18], 1
je 0x474e2d
mov ecx, dword [eax + 0x20]
test ecx, ecx
jne 0x4751cd
mov eax, dword [esi + 0x1ec]
push ebp
push edi
push eax
call dword [eax + 0x1c]
add esp, 0xc
mov eax, dword [esi]
push 0x5499f0
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
mov edx, dword [ecx + 8]
push edx
push eax
push esi
call dword [0x549a00]
mov ecx, dword [esi]
add esp, 0x10
mov ecx, dword [ecx + 4]
mov edx, dword [ecx + 8]
cmp byte [edx], 1
jne 0x475127
jmp 0x474ecf
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 0x20]
test edx, edx
jle 0x475217
mov byte [ecx + 0x18], 1
jmp 0x4750bc
push eax
call dword [eax + 0x88]
mov eax, dword [esi]
push 0x546240
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 4]
mov dword [eax], 4
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
mov eax, dword [edx + 8]
mov ecx, dword [eax + 4]
mov dword [ecx + 4], str.Mismatched_set
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 4]
mov dword [edx + 0x20], 0x546240
mov eax, dword [esi]
mov eax, dword [eax + 4]
jmp 0x474ec8
mov eax, dword [esi + 0x1ec]
push eax
call dword [eax + 0x10]
mov ecx, dword [esi]
mov edi, eax
push 0
push 0x546298
mov edx, dword [ecx + 4]
mov eax, dword [edx + 8]
mov eax, dword [eax + 0xc]
push eax
call dword [eax + 0x14]
lea ecx, [esp + 0x3c]
push esi
push ecx
call fcn.00486840
mov edx, dword [eax]
mov dword [esp + 0x34], edx
mov edx, dword [esi]
mov ecx, dword [eax + 4]
mov dword [esp + 0x38], 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, 0x1c
mov eax, dword [edx + 4]
mov eax, dword [eax + 8]
cmp byte [eax], 1
je case.default.0x474d1c
cmp byte [eax + 0x18], 1
jne 0x475549
mov eax, dword [esp + 0xb4]
mov edx, dword [esp + 0x14]
mov ecx, eax
pop edi
pop esi
pop ebp
mov dword [ecx], ebx
pop ebx
mov dword [ecx + 4], edx
mov edx, dword [esp + 8]
mov dword [ecx + 8], edx
add esp, 0xa0
ret
mov eax, dword [esi + 0x1ec]
push eax
call dword [eax + 0x10]
mov edi, eax
mov eax, dword [esi]
push 0
push 0x5462a8
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 0xc]
push eax
call dword [eax + 0x14]
lea eax, [esp + 0x78]
push esi
push eax
call fcn.0047a240
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.0x474d1c
cmp byte [eax + 0x18], 1
jne 0x475549
mov eax, dword [esp + 0xb4]
mov ecx, dword [esp + 0x14]
mov edx, eax
pop edi
pop esi
pop ebp
mov dword [edx], ebx
pop ebx
mov dword [edx + 4], ecx
mov ecx, dword [esp + 8]
mov dword [edx + 8], ecx
add esp, 0xa0
ret
mov eax, dword [esi + 0x1ec]
push eax
call dword [eax + 0x10]
mov edx, dword [esi]
mov edi, eax
push 0
push 0x5462b8
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.0047da70
mov ecx, dword [eax]
mov dword [esp + 0x34], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x38], edx
jmp 0x47532a
mov eax, dword [esi + 0x1ec]
push eax
call dword [eax + 0x10]
mov edx, dword [esi]
mov edi, eax
push 0
push 0x5462c8
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.0047f0f0
mov ecx, dword [eax]
mov dword [esp + 0x34], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x38], edx
jmp 0x47532a
mov eax, dword [esi + 0x1ec]
push eax
call dword [eax + 0x10]
mov edx, dword [esi]
mov edi, eax
push 0
push 0x5462d8
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.00480b40
mov ecx, dword [eax]
mov dword [esp + 0x34], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x38], edx
jmp 0x47532a
mov eax, dword [esi + 0x1ec]
push eax
call dword [eax + 0x10]
mov edx, dword [esi]
mov edi, eax
push 0
push 0x5462e8
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.004848b0
mov ecx, dword [eax]
mov dword [esp + 0x34], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x38], edx
jmp 0x47532a
mov eax, dword [esi + 0x1ec]
push eax
call dword [eax + 0x10]
mov edx, dword [esi]
mov edi, eax
push 0
push 0x5462f8
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.00488200
mov ecx, dword [eax]
mov dword [esp + 0x34], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x38], edx
jmp 0x4754f9
mov eax, dword [esi + 0x1ec]
push eax
call dword [eax + 0x10]
mov edx, dword [esi]
mov edi, eax
push 0
push 0x546308
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.00486030
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.0x474d1c
cmp byte [eax + 0x18], 1
jne 0x475549
mov eax, dword [esp + 0xb4]
mov ecx, dword [esp + 0x14]
mov edx, eax
pop edi
pop esi
pop ebp
mov dword [edx], ebx
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 case.default.0x474d1c
mov eax, dword [esi + 0x1ec]
push ebp
push edi
push eax
call dword [eax + 0x1c]
add esp, 0xc
jmp case.default.0x474d1c