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

Disassembly:
sub esp, 0x48
push ebx
push ebp
push esi
mov esi, dword [esp + 0x5c]
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 + 0x64], eax
add esp, 4
xor ebp, ebp
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 0x20]
test edx, edx
jle 0x474f79
push 0x12
push eax
call dword [eax + 0x74]
add esp, 8
test al, al
je 0x474f79
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov edx, eax
jmp 0x475128
mov edx, dword [esi]
mov ebx, 1
push ebx
mov eax, dword [edx + 8]
push eax
call dword [eax + 0x14]
mov dword [esp + 0x18], eax
mov eax, dword [esi]
xor edi, edi
push ebx
mov ecx, dword [eax + 8]
mov dword [esp + 0x24], edi
mov eax, dword [ecx + 8]
push eax
call dword [eax + 0x18]
add esp, 0x10
cmp eax, 8
jne 0x474fab
mov eax, ebx
jmp 0x474fb9
cmp eax, 9
jne 0x475389
mov eax, 2
dec eax
je 0x475209
dec eax
jne 0x4753f1
mov eax, dword [esi + 0x1ec]
push eax
call dword [eax + 0x10]
mov edx, dword [esi]
mov ebp, eax
push 0x551e00
push 9
mov eax, dword [edx + 4]
push eax
call dword [eax + 0x10]
mov ecx, dword [esi]
add esp, 0x10
mov edx, dword [ecx + 4]
mov ecx, dword [edx + 8]
cmp byte [ecx], bl
je 0x4753f1
cmp byte [ecx + 0x18], bl
jne 0x475019
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x10]
mov ecx, eax
mov dword [ecx], edx
mov edx, dword [esp + 0x14]
mov dword [ecx + 4], edx
mov dword [ecx + 8], edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret
mov edx, dword [ecx + 0x20]
test edx, edx
jne 0x47503c
mov ecx, dword [esi + 0x1ec]
push eax
push ecx
call dword [ecx + 0x3c]
mov ecx, dword [esi + 0x1ec]
push ebp
push eax
push ecx
call dword [ecx + 0x30]
add esp, 0x14
mov ebp, eax
mov eax, dword [esi]
push ebx
mov edi, 2
mov ecx, dword [eax + 8]
mov eax, dword [ecx + 8]
push eax
call dword [eax + 0x18]
add esp, 8
cmp eax, 0x43
jne 0x475058
mov edi, ebx
dec edi
jne 0x4750c6
mov edx, dword [esi]
push 0x551e18
push 0x43
mov eax, dword [edx + 4]
push eax
call dword [eax + 0x10]
mov ecx, dword [esi]
add esp, 0xc
mov edx, dword [ecx + 4]
mov ecx, dword [edx + 8]
cmp byte [ecx], bl
je 0x4753f1
cmp byte [ecx + 0x18], bl
jne 0x4750a5
mov eax, dword [esp + 0x5c]
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, 0x48
ret
mov edx, dword [ecx + 0x20]
test edx, edx
jne 0x4750c6
mov ecx, dword [esi + 0x1ec]
push eax
push ecx
call dword [ecx + 0x3c]
mov ecx, dword [esi + 0x1ec]
push eax
push ebp
push ecx
call dword [ecx + 0x1c]
add esp, 0x14
mov eax, dword [esi]
push 0
push 0x551e30
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 0xc]
push eax
call dword [eax + 0x14]
lea eax, [esp + 0x34]
push esi
push eax
call fcn.00475ae0
mov ecx, dword [eax]
mov dword [esp + 0x30], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x34], edx
mov edi, 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], bl
je 0x4753f1
cmp byte [eax + 0x18], bl
jne 0x475140
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x10]
mov edx, eax
mov dword [edx], ecx
mov ecx, dword [esp + 0x14]
pop edi
pop esi
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x10]
pop ebp
pop ebx
mov dword [edx + 8], ecx
add esp, 0x48
ret
mov ecx, dword [eax + 0x20]
test ecx, ecx
jne 0x475156
mov eax, dword [esi + 0x1ec]
push edi
push ebp
push eax
call dword [eax + 0x1c]
add esp, 0xc
mov edx, dword [esi]
push ebx
mov edi, 2
mov eax, dword [edx + 8]
mov eax, dword [eax + 8]
push eax
call dword [eax + 0x18]
add esp, 8
cmp eax, 0x5e
jne 0x475172
mov edi, ebx
dec edi
jne 0x4753f1
mov ecx, dword [esi]
push 0x551e48
push 0x5e
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], bl
je 0x4753f1
cmp byte [eax + 0x18], bl
je 0x475083
mov eax, dword [eax + 0xc]
push 0
push 0x551e60
push eax
call dword [eax + 0x14]
lea ecx, [esp + 0x40]
push esi
push ecx
call fcn.00475ae0
mov edx, dword [eax]
mov dword [esp + 0x30], edx
mov edx, dword [esi]
mov ecx, dword [eax + 4]
mov dword [esp + 0x34], ecx
mov edi, 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], bl
je 0x4753f1
cmp byte [eax + 0x18], bl
je 0x475083
mov ecx, dword [eax + 0x20]
test ecx, ecx
jne 0x475156
jmp 0x475147
mov eax, dword [esi + 0x1ec]
push eax
call dword [eax + 0x10]
mov ebp, eax
mov eax, dword [esi]
push 0x551da0
push 8
mov eax, dword [eax + 4]
push eax
call dword [eax + 0x10]
mov ecx, dword [esi]
add esp, 0x10
mov edx, dword [ecx + 4]
mov ecx, dword [edx + 8]
cmp byte [ecx], bl
je 0x4753f1
cmp byte [ecx + 0x18], bl
je 0x474ffb
mov edx, dword [ecx + 0x20]
test edx, edx
jne 0x475264
mov ecx, dword [esi + 0x1ec]
push eax
push ecx
call dword [ecx + 0x3c]
mov ecx, dword [esi + 0x1ec]
push ebp
push eax
push ecx
call dword [ecx + 0x30]
add esp, 0x14
mov ebp, eax
mov eax, dword [esi]
push 0
push 0x551db8
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 0xc]
push eax
call dword [eax + 0x14]
lea eax, [esp + 0x4c]
push esi
push eax
call fcn.004754e0
mov ecx, dword [eax]
mov dword [esp + 0x30], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x34], edx
mov edi, 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], bl
je 0x4753f1
cmp byte [eax + 0x18], bl
je 0x47511e
mov ecx, dword [eax + 0x20]
test ecx, ecx
jne 0x4752d6
mov eax, dword [esi + 0x1ec]
push edi
push ebp
push eax
call dword [eax + 0x1c]
add esp, 0xc
mov edx, dword [esi]
push ebx
mov edi, 2
mov eax, dword [edx + 8]
mov eax, dword [eax + 8]
push eax
call dword [eax + 0x18]
add esp, 8
cmp eax, 0x5e
jne 0x4752f2
mov edi, ebx
dec edi
jne 0x4753f1
mov ecx, dword [esi]
push 0x551dd0
push 0x5e
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], bl
je 0x4753f1
cmp byte [eax + 0x18], bl
je 0x475083
mov eax, dword [eax + 0xc]
push 0
push 0x551de8
push eax
call dword [eax + 0x14]
lea ecx, [esp + 0x58]
push esi
push ecx
call fcn.004754e0
mov edx, dword [eax]
mov dword [esp + 0x30], edx
mov edx, dword [esi]
mov ecx, dword [eax + 4]
mov dword [esp + 0x34], ecx
mov edi, 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], bl
je 0x4753f1
cmp byte [eax + 0x18], bl
je 0x475083
mov ecx, dword [eax + 0x20]
test ecx, ecx
jne 0x4752d6
jmp 0x4752c7
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 0x20]
test edx, edx
jle 0x4753a0
mov byte [ecx + 0x18], bl
jmp 0x474ffb
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], 0x55b7e8
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 4]
mov dword [edx + 0x34], 0x18
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 4]
mov dword [eax + 0x38], 0
mov ecx, dword [esi]
push 0xffffffffffffffff
mov eax, dword [ecx + 8]
push eax
call dword [eax + 0x14]
mov edi, eax
mov eax, dword [esi]
add esp, 8
mov edx, dword [eax + 4]
mov ecx, dword [edx + 8]
mov edx, dword [ecx + 0x20]
test edx, edx
jne 0x475441
mov eax, dword [eax + 8]
push 0xffffffffffffffff
push eax
call dword [eax + 0x14]
mov edi, eax
mov eax, dword [esi + 0x1ec]
push ebp
push eax
call dword [eax + 0x34]
mov edx, dword [esp + 0x20]
mov ebp, eax
mov eax, dword [esi + 0x1ec]
push edi
push edx
push ebp
push eax
call dword [eax + 0x8c]
add esp, 0x20
jmp 0x475445
mov ebp, dword [esp + 0x18]
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov ecx, dword [eax + 8]
cmp byte [ecx], bl
jne 0x47549e
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 ebx, 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 edx, dword [esi]
mov ecx, dword [esp + 0x1c]
add esp, 8
push eax
mov eax, dword [edx + 8]
push ecx
mov ecx, dword [esi + 0x1ec]
push eax
push ecx
call dword [ebx + 0x28]
add esp, 0x14
mov dword [esp + 0x18], eax
mov ebp, eax
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 0x20]
test edx, edx
jle 0x4754bb
mov edx, dword [esp + 0x60]
push edx
push 0x12
push eax
call dword [eax + 0x78]
add esp, 0xc
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x10]
mov ecx, eax
mov dword [ecx], edx
mov dword [ecx + 4], edi
pop edi
pop esi
mov dword [ecx + 8], ebp
pop ebp
pop ebx
add esp, 0x48
ret