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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x584c1b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
lea eax, [eax + eax*2]
movzx eax, byte [eax + 0x62b31a]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x198]
mov eax, dword [edx + eax*4 + 8]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x584c05
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0xf4], 0
jne 0x5847f5
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0xc], eax
jmp 0x584bfb
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xf4]
mov edx, dword [eax]
call dword [edx + 0x38]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x198]
cmp byte [eax + 0x78], 1
jne 0x584827
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x198]
mov cl, 1
mov edx, dword [ebp - 0xc]
call fcn.00584410
jmp 0x584847
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x198]
mov ecx, 1
mov edx, dword [ebp - 0xc]
call fcn.005843c0
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x7c], 1
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x584880
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x198]
xor ecx, ecx
mov edx, dword [ebp - 0x10]
call fcn.005843c0
mov eax, dword [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x7c], edx
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x584856
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xf4]
mov edx, dword [eax]
call dword [edx + 0x44]
test al, al
jne 0x584bf2
push ebp
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x20]
call fcn.00584760
pop ecx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x90]
test eax, eax
je 0x5848ba
mov edx, dword [ebp + 8]
push edx
call fcn.005846f4
pop ecx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x94]
test eax, eax
je 0x584bb4
call fcn.005811b0
jmp 0x584bb4
mov eax, dword [0x62f830]
cmp byte [eax + 0x11b], 0
jne 0x584bca
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0xe0], 0
je 0x58490c
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 0xc]
call fcn.005846f4
pop ecx
mov eax, dword [ebp + 8]
push eax
call fcn.00584714
pop ecx
jmp 0x584919
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 0xc]
call fcn.005846f4
pop ecx
mov byte [ebp - 5], 1
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x19c]
cmp eax, dword [ebp - 4]
jle 0x584966
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
inc eax
call fcn.0058478c
pop ecx
mov eax, dword [ebp + 8]
cmp dword [eax - 4], 0
jle 0x584970
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0xe0], 0
je 0x58495a
mov eax, dword [ebp + 8]
push eax
call fcn.00584714
pop ecx
jmp 0x584970
mov eax, dword [ebp + 8]
dec dword [eax - 4]
mov byte [ebp - 5], 0
jmp 0x584970
mov eax, dword [ebp + 8]
push eax
call fcn.00584714
pop ecx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xf4]
mov edx, dword [eax]
call dword [edx + 0x3c]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x584b29
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xf4]
mov edx, dword [eax]
call dword [edx + 0x44]
test al, al
jne 0x5849e1
mov eax, dword [ebp - 0x10]
add eax, 0x80
call fcn.004186cc
test al, al
jne 0x5849e1
lea ecx, [ebp - 0x20]
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x104]
mov eax, dword [0x62f814]
call fcn.00567d50
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0x10]
add edx, 0x80
call fcn.0041a490
je 0x584b16
mov eax, dword [ebp + 8]
mov byte [eax - 0x19d], 1
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xf4]
mov edx, dword [eax]
call dword [edx + 0x44]
test al, al
jne 0x584a37
xor eax, eax
push ebp
push 0x584a23
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xf4]
mov edx, dword [eax]
call dword [edx + 0x40]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x584a37
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax + 0x24]
cmp ebx, dword [ebp - 0x10]
je 0x584a88
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebx + 0x94]
call fcn.005846f4
pop ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x198]
xor ecx, ecx
mov edx, ebx
call fcn.005843c0
mov eax, dword [ebx + 0x94]
test eax, eax
je 0x584a80
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x198]
xor ecx, ecx
call fcn.005843c0
mov ebx, dword [ebx + 0x14]
cmp ebx, dword [ebp - 0x10]
jne 0x584a42
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
call fcn.005846f4
pop ecx
mov eax, dword [ebp + 8]
push eax
call fcn.00584714
pop ecx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xf4]
mov edx, dword [eax]
call dword [edx + 0x44]
test al, al
jne 0x584b29
mov eax, dword [ebp + 8]
cmp byte [eax - 0x19d], 0
je 0x584ad1
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xf4]
mov edx, dword [eax]
call dword [edx + 0x3c]
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0xe1], 0
je 0x584af7
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0xe5], 0
je 0x584af7
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x198]
call fcn.005845b4
push ebp
mov eax, dword [ebp - 0x10]
call fcn.00584760
pop ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x198]
xor ecx, ecx
mov edx, dword [ebp - 0xc]
call fcn.005843c0
jmp 0x584b29
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x584991
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x198]
cmp byte [eax + 0x78], 1
jne 0x584b4d
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x198]
mov cl, 2
mov edx, dword [ebp - 0xc]
call fcn.00584410
jmp 0x584ba6
cmp byte [ebp - 5], 0
je 0x584ba6
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x198]
inc dword [eax + 0x88]
mov eax, dword [ebp - 0xc]
inc dword [eax + 0x7c]
mov eax, dword [ebp - 0xc]
inc dword [eax + 0x78]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xf4]
mov edx, dword [eax]
call dword [edx + 0x44]
test al, al
jne 0x584ba6
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0xe1], 0
je 0x584ba6
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0xe5], 0
je 0x584ba6
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x198]
call fcn.005845b4
mov eax, dword [0x62f830]
cmp byte [eax + 0x11b], 0
jne 0x584bca
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xf4]
mov edx, dword [eax]
call dword [edx + 0x44]
test al, al
je 0x5848d5
mov eax, dword [ebp + 8]
cmp dword [eax - 4], 0
jne 0x584bec
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x94]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x198]
call fcn.0058431c
jmp 0x584bf2
mov eax, dword [ebp + 8]
dec dword [eax - 4]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x5847db
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x584c22
lea eax, [ebp - 0x20]
call fcn.004118e8
ret