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

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, dword [esp + 0x20]
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 + 0x28], eax
add esp, 4
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 0x20]
test edx, edx
jle 0x475d8a
push 0x16
push eax
call dword [eax + 0x74]
add esp, 8
test al, al
je 0x475d8a
mov eax, dword [esp + 0x20]
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, 0xc
ret
mov edx, dword [esi]
push 1
mov eax, dword [edx + 8]
push eax
call dword [eax + 0x14]
mov edi, eax
mov eax, dword [esi + 0x1ec]
push eax
mov dword [esp + 0x1c], edi
xor ebx, ebx
call dword [eax + 0x10]
mov ebp, eax
mov eax, dword [esi]
push 0x551f38
push 0xa
mov eax, dword [eax + 4]
push eax
call dword [eax + 0x10]
mov ecx, dword [esi]
add esp, 0x18
mov edx, dword [ecx + 4]
mov ecx, dword [edx + 8]
cmp byte [ecx], 1
je 0x475ef3
cmp byte [ecx + 0x18], 1
jne 0x475ded
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
mov ecx, eax
mov dword [ecx], edi
pop edi
pop esi
pop ebp
mov dword [ecx + 4], edx
mov dword [ecx + 8], ebx
pop ebx
add esp, 0xc
ret
mov edx, dword [ecx + 0x20]
test edx, edx
jne 0x475e10
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 0x551f50
push 0x72
mov eax, dword [eax + 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], 1
je 0x475ef3
cmp byte [ecx + 0x18], 1
jne 0x475e54
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
mov ecx, eax
mov dword [ecx], edi
pop edi
pop esi
pop ebp
mov dword [ecx + 4], edx
mov dword [ecx + 8], ebx
pop ebx
add esp, 0xc
ret
mov edx, dword [ecx + 0x20]
test edx, edx
jne 0x475e75
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 1
mov edi, 2
mov ecx, dword [eax + 8]
mov eax, dword [ecx + 8]
push eax
call dword [eax + 0x18]
add esp, 8
cmp eax, 0x5e
jne 0x475e95
mov edi, 1
dec edi
jne 0x475ef3
mov edx, dword [esi]
push 0x551f68
push 0x5e
mov eax, dword [edx + 4]
push eax
call dword [eax + 0x10]
mov eax, dword [esi]
add esp, 0xc
mov eax, dword [eax + 4]
mov ecx, dword [eax + 8]
cmp byte [ecx], 1
je 0x475ef3
cmp byte [ecx + 0x18], 1
je 0x475fcc
push 0x551f80
push 0x72
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], 1
je 0x475ef3
cmp byte [ecx + 0x18], 1
je 0x475fcc
mov edx, dword [ecx + 0x20]
test edx, edx
jne 0x475e75
jmp 0x475e5b
mov eax, dword [esi]
push 0xffffffffffffffff
mov eax, dword [eax + 8]
push eax
call dword [eax + 0x14]
mov edi, 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 0x475f43
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 ebp, dword [esp + 0x20]
mov ebx, eax
mov eax, dword [esi + 0x1ec]
push edi
push ebp
push ebx
push eax
call dword [eax + 0x8c]
add esp, 0x20
jmp 0x475f47
mov ebp, dword [esp + 0x10]
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov ecx, dword [eax + 8]
cmp byte [ecx], 1
jne 0x475f99
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 ecx, dword [esi]
add esp, 8
mov edx, dword [ecx + 8]
push eax
mov eax, dword [esi + 0x1ec]
push ebp
push edx
push eax
call dword [ebx + 0x28]
add esp, 0x14
mov ebx, eax
mov ecx, dword [esi]
mov eax, dword [ecx + 4]
mov edx, dword [eax + 8]
mov ecx, dword [edx + 0x20]
test ecx, ecx
jle 0x475fb6
mov ecx, dword [esp + 0x24]
push ecx
push 0x16
push eax
call dword [eax + 0x78]
add esp, 0xc
mov eax, dword [esp + 0x20]
mov edx, eax
mov dword [edx], ebp
mov dword [edx + 4], edi
pop edi
pop esi
pop ebp
mov dword [edx + 8], ebx
pop ebx
add esp, 0xc
ret
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x10]
mov ecx, eax
pop edi
pop esi
pop ebp
mov dword [ecx], edx
mov edx, dword [esp + 8]
mov dword [ecx + 4], edx
mov dword [ecx + 8], ebx
pop ebx
add esp, 0xc
ret