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

Disassembly:
push edx
push 1
mov edi, 0x50
push 0x101b
push eax
mov dword [esp + 0x70], 0x5efa18
mov dword [esp + 0x78], 1
mov dword [esp + 0x6c], edi
call ebp
mov ecx, dword [esi + 0x154]
push ebx
push ebx
push 0x1037
push ecx
call ebp
mov edx, dword [esi + 0x154]
or al, 0x21
push eax
push ebx
push 0x1036
push edx
call ebp
mov eax, dword [esi + 0x154]
push ebx
push ebx
push 0x1009
push eax
call ebp
mov eax, dword [esi + 0x5c]
cmp eax, ebx
je 0x58d30b
mov ecx, dword [eax + 0x5ae0]
mov dword [esp + 0x38], ebx
cmp ecx, ebx
jle 0x58d30b
mov dword [esp + 0x2c], ebx
mov eax, dword [eax + 0x5b14]
neg eax
sbb eax, eax
cmp eax, ebx
mov dword [esp + 0x34], eax
je 0x58d2e6
mov eax, dword [0x5f9f88]
mov dword [esp + 0x10], eax
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x20]
lea edx, [esp + 0x10]
and al, 0x10
push ecx
mov ecx, dword [esi + 0x5c]
lea eax, [esp + 0x38]
push edx
push eax
add ecx, 0x5b08
mov byte [esp + 0x88], 1
call 0x6023b8
mov ecx, dword [esi + 0x5c]
mov edx, dword [ecx + 0x5adc]
mov ecx, dword [esp + 0x2c]
add edx, ecx
lea ecx, [esp + 0x30]
push edx
call 0x60377a
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x30]
push eax
push ecx
mov byte [esp + 0x84], 2
call 0x5eb3ed
add esp, 8
test eax, eax
jne 0x58d2af
lea edx, [esp + 0x10]
lea ecx, [esp + 0x14]
push edx
call 0x603481
lea eax, [esp + 0x10]
lea ecx, [esp + 0x1c]
push eax
mov byte [esp + 0x80], 3
call 0x603481
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x7c], 4
cmp dword [ecx - 8], 0xc
jne 0x58d0c1
push 0x5fe7d8
lea ecx, [esp + 0x1c]
call 0x60377a
mov byte [esp + 0x7c], 5
xor edi, edi
push 2
lea edx, [esp + 0x40]
push edi
push edx
lea ecx, [esp + 0x20]
call 0x5fe982
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x80], 6
call 0x603b24
lea ecx, [esp + 0x3c]
mov byte [esp + 0x7c], 5
call 0x60370c
cmp edi, 0xa
je 0x58d09d
push 0x5e77b8
lea ecx, [esp + 0x1c]
call 0x603ae8
add edi, 2
cmp edi, 0xc
jl 0x58d059
lea eax, [esp + 0x18]
lea ecx, [esp + 0x14]
push eax
call 0x603845
lea ecx, [esp + 0x18]
mov byte [esp + 0x7c], 4
call 0x60370c
mov ecx, dword [0x5f9f88]
mov dword [esp + 0x28], ecx
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0x5c]
lea edx, [esp + 0x28]
add ecx, 0x5b24
push edx
push eax
mov byte [esp + 0x84], 7
call 0x6022cc
test eax, eax
je 0x58d178
lea ecx, [esp + 0x28]
push 0x5e77c0
lea edx, [esp + 0x4c]
push ecx
push edx
call 0x6039a1
lea ecx, [esp + 0x14]
lea edx, [esp + 0x44]
push ecx
push eax
push edx
mov byte [esp + 0x88], 8
or al, ch
sbb al, 0x68
pop es
add byte [eax - 0x44], ch
ja 0x58d181
add byte [eax - 0x73], dl
inc esp
and al, 0x48
mov byte [esp + 0x84], 9
push eax
call 0x6039a1
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x80], 0xa
call 0x603845
lea ecx, [esp + 0x40]
mov byte [esp + 0x7c], 9
call 0x60370c
lea ecx, [esp + 0x44]
mov byte [esp + 0x7c], 8
call 0x60370c
lea ecx, [esp + 0x48]
mov byte [esp + 0x7c], 7
call 0x60370c
jmp 0x58d23f
mov eax, dword [esi + 0x60]
test eax, eax
je 0x58d231
mov ecx, dword [eax + 0xbc]
xor edi, edi
test ecx, ecx
mov dword [esp + 0x24], edi
mov dword [esp + 0x4c], ecx
jle 0x58d21f
mov eax, dword [eax + 0xc0]
mov dword [esp + 0x50], eax
mov edx, eax
mov eax, dword [edx]
mov edi, dword [esp + 0x1c]
add eax, 0x104
mov bl, byte [eax]
mov cl, bl
cmp bl, byte [edi]
jne 0x58d1d6
test cl, cl
je 0x58d1d2
mov bl, byte [eax + 1]
mov cl, bl
cmp bl, byte [edi + 1]
jne 0x58d1d6
add eax, 2
add edi, 2
test cl, cl
jne 0x58d1b2
xor eax, eax
jmp 0x58d1db
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x58d1f5
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x4c]
inc edi
add edx, 4
cmp edi, eax
mov dword [esp + 0x24], edi
jl 0x58d1a7
jmp 0x58d21f
mov ecx, dword [esp + 0x50]
mov edi, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
mov eax, dword [ecx + edi*4]
push edx
lea edx, [esp + 0x14]
lea ecx, [eax + 0x32]
add eax, 0x6c
push ecx
push eax
push 0x5f2d14
push edx
call 0x5feeb4
add esp, 0x14
mov eax, dword [esi + 0x60]
cmp edi, dword [eax + 0xbc]
jl 0x58d23f
lea ecx, [esp + 0x14]
push ecx
jmp 0x58d236
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x14]
call 0x603845
mov eax, dword [esi + 0x74]
lea ecx, [esi + 0x6c]
lea edx, [esp + 0x1c]
push edx
push eax
call 0x6018bb
mov eax, dword [esi + 0x88]
lea ecx, [esi + 0x80]
lea edx, [esp + 0x10]
push edx
push eax
call 0x6018bb
mov eax, dword [esi + 0x9c]
lea ecx, [esi + 0x94]
lea edx, [esp + 0x20]
push edx
push eax
call 0x6018bb
lea ecx, [esp + 0x28]
mov byte [esp + 0x7c], 4
call 0x60370c
lea ecx, [esp + 0x1c]
mov byte [esp + 0x7c], 3
call 0x60370c
lea ecx, [esp + 0x14]
mov byte [esp + 0x7c], 2
call 0x60370c
mov edi, 0x50
xor ebx, ebx
lea ecx, [esp + 0x30]
mov byte [esp + 0x7c], 1
call 0x60370c
lea ecx, [esp + 0x20]
mov byte [esp + 0x7c], 0
call 0x60370c
lea ecx, [esp + 0x10]
mov dword [esp + 0x7c], 0xffffffff
call 0x60370c
cmp dword [esp + 0x34], ebx
jne 0x58cfa0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x38]
add eax, 0x1c0
inc ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x5c]
mov dword [esp + 0x38], ecx
cmp ecx, dword [eax + 0x5ae0]
jl 0x58cf8a
mov dword [esi + 0xa8], ebx
lea ebx, [esi + 0xac]
push 0xffffffffffffffff
push 0
mov ecx, ebx
call 0x6016e6
push 0xffffffffffffffff
lea ecx, [esi + 0xc0]
push 0
call 0x6016e6
push 0xffffffffffffffff
lea ecx, [esi + 0xd4]
push 0
call 0x6016e6