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

Disassembly:
mov ecx, dword [0x817cc4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x24]
cmp eax, dword [ecx + 8]
jbe 0x5991ca
sub esp, 0xa4
mov eax, dword [esp + 0xa8]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.005985f0
mov eax, dword [esp + 0xc]
test eax, eax
je 0x598b07
mov eax, dword [esp + 0xa8]
jmp 0x598b35
mov eax, dword [0x817f20]
mov ecx, dword [esp + 8]
test eax, eax
jne 0x598b1e
mov eax, dword [esp + 0xa8]
jmp 0x598b32
call fcn.00466d20
mov dword [edi], ecx
mov eax, dword [esp + 0xa8]
mov edx, dword [eax + 0x20]
mov dword [edi + 4], edx
mov dword [eax + 0x20], ecx
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.005985f0
mov eax, dword [esp + 0xc]
test eax, eax
je 0x598b58
mov eax, dword [esp + 0xa8]
jmp 0x598b86
mov eax, dword [0x817f20]
mov ecx, dword [esp + 8]
test eax, eax
jne 0x598b6f
mov eax, dword [esp + 0xa8]
jmp 0x598b83
call fcn.00466d20
mov dword [edi], ecx
mov eax, dword [esp + 0xa8]
mov edx, dword [eax + 0x1c]
mov dword [edi + 4], edx
mov dword [eax + 0x1c], ecx
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov dword [esp], ecx
mov dword [esp + 4], edx
lea ecx, str.__SM1myi_____80_::_____________n__s____Pn___n__n___n__t__250s___Cc__ip53A4V1V6V2V3V5A3.__nLlLtLuMnCfCoCsLmLoMcMeNdNlNoPcPdPePfPiPoPsScSkSmSoZlZpZsYi0b0x0X0oid
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0xffffffff
call fcn.004acfc0
mov eax, dword [esp + 0x18]
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x28], ecx
xor edx, edx
jmp 0x598bdd
mov ebx, dword [esp + 0x3c]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x28]
cmp edx, ecx
jge 0x5991ad
mov dword [esp + 0x3c], edx
lea ecx, [eax + edx*8]
mov ebx, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.004ae0d0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004ad9f0
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x598c28
mov eax, dword [esp + 0xa8]
lea esi, [0x6df8a8]
jmp 0x598bce
mov ecx, dword [esp + 8]
cmp eax, 1
jne 0x598c3a
cmp byte [ecx], 0x2a
je 0x599102
mov dword [esp + 0x38], eax
mov dword [esp + 0x70], ecx
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00572970
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
test eax, eax
jne 0x598d03
mov eax, dword [esp + 0xa8]
mov edx, dword [eax + 0x2c]
mov ebx, dword [eax + 0x28]
inc ebx
mov ebp, dword [eax + 0x24]
cmp edx, ebx
jae 0x598cd3
mov dword [esp + 0x68], ecx
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x5b6820]
mov dword [esp + 0x10], eax
call fcn.0044d390
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0xa8]
mov dword [ebx + 0x2c], eax
mov eax, dword [0x817f20]
test eax, eax
je 0x598cc6
call fcn.00466d20
mov dword [edi], ecx
mov eax, dword [ebx + 0x24]
mov dword [edi + 4], eax
mov dword [ebx + 0x24], ecx
mov eax, ebx
mov ebx, edx
mov ebp, ecx
mov ecx, dword [esp + 0x68]
mov dword [eax + 0x28], ebx
lea edx, [ebp + ebx*8 - 8]
lea esi, [0x6df8a8]
mov dword [edx], esi
mov edx, dword [0x817f20]
lea ebx, [ebp + ebx*8 - 4]
test edx, edx
je 0x598cfc
call fcn.00466d20
mov dword [edi], ecx
mov edx, dword [ebx]
mov dword [edi + 4], edx
mov dword [ebx], ecx
jmp 0x598bce
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov ecx, dword [esp + 0x38]
mov dword [esp + 4], ecx
call fcn.00573cf0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x64], ecx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x30], edx
test eax, eax
jne 0x598d79
mov ebx, dword [esp + 0xc]
test ebx, ebx
jne 0x598d49
mov eax, dword [esp + 0xa8]
lea esi, [0x6df8a8]
jmp 0x598bce
mov ebp, dword [esp + 8]
cmp byte [ebp], 0x5b
jne 0x598d81
lea esi, [ebx + ebp - 1]
cmp byte [esi], 0x5d
jne 0x598d81
lea esi, [ebx - 1]
cmp esi, 1
jb 0x5991bd
add ebx, 0xfffffffe
mov eax, ebx
neg eax
sar eax, 0x1f
and eax, 1
add ebp, eax
jmp 0x598d81
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x70]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x6c], ebp
lea eax, [0x5ae080]
mov dword [esp], eax
call fcn.0040bd60
mov eax, dword [esp + 4]
mov dword [esp + 0x78], eax
mov ecx, dword [esp + 0x6c]
mov dword [esp], ecx
mov edx, dword [esp + 0x34]
mov dword [esp + 4], edx
call fcn.00572830
movzx eax, byte [esp + 0x18]
lea edi, [esp + 0x40]
lea esi, [esp + 8]
call fcn.00467448
lea edi, [esp + 0x50]
lea esi, [esp + 0x40]
call fcn.00467448
mov edi, dword [esp + 0x78]
lea esi, [esp + 0x50]
call fcn.00467448
test al, al
je 0x598dee
mov eax, dword [esp + 0x78]
mov ecx, 0x10
jmp 0x598df2
xor eax, eax
xor ecx, ecx
test eax, eax
jne 0x598ff0
mov edx, dword [esp + 0x34]
test edx, edx
jne 0x598e14
mov eax, dword [esp + 0xa8]
lea esi, [0x6df8a8]
jmp 0x598bce
cmp edx, 2
jge 0x598e1d
xor eax, eax
jmp 0x598e44
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
lea ecx, [0x5d7530]
mov dword [esp + 4], ecx
mov dword [esp + 8], 2
call fcn.00403080
movzx eax, byte [esp + 0xc]
mov edx, dword [esp + 0x34]
test al, al
je 0x598e5e
lea ebx, [edx - 1]
mov edx, ebx
neg edx
sar edx, 0x1f
and edx, 1
mov esi, dword [esp + 0x6c]
lea ebp, [esi + edx]
jmp 0x598e64
mov ebx, edx
mov ebp, dword [esp + 0x6c]
test ebx, ebx
jbe 0x5991b4
movzx eax, byte [ebp]
mov byte [esp + 0x27], al
cmp al, 0x2e
je 0x598ea7
mov dword [esp], 0
lea eax, [0x6dddc8]
mov dword [esp + 4], eax
mov dword [esp + 8], 1
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.00450d70
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x6c], ebp
mov dword [esp], ebp
mov dword [esp + 4], ebx
call fcn.00599390
mov eax, dword [esp + 0x10]
test eax, eax
je 0x598ed5
movzx ecx, byte [esp + 0x27]
cmp cl, 0x2e
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x6c]
jmp 0x598ee5
mov ebp, dword [esp + 8]
mov ebx, dword [esp + 0xc]
movzx ecx, byte [esp + 0x27]
cmp cl, 0x2e
setne cl
mov byte [esp + 0x26], cl
lea edi, [esp + 0x7c]
xor eax, eax
call fcn.00466f5b
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x80], ebx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x84], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x88], ecx
movzx ecx, byte [esp + 0x26]
mov byte [esp + 0x8c], cl
lea ecx, [0x5c34c0]
mov dword [esp], ecx
lea edx, [esp + 0x7c]
mov dword [esp + 4], edx
call fcn.004093e0
mov ecx, dword [esp + 0xa8]
mov edx, dword [ecx + 0x38]
mov ebx, dword [ecx + 0x34]
inc ebx
mov ebp, dword [ecx + 0x30]
mov esi, dword [esp + 8]
cmp edx, ebx
jae 0x598fb8
mov dword [esp + 0x74], esi
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x5b6820]
mov dword [esp + 0x10], eax
call fcn.0044d390
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0xa8]
mov dword [ebx + 0x38], eax
mov eax, dword [0x817f20]
test eax, eax
je 0x598fa6
call fcn.00466d20
mov dword [edi], ecx
mov eax, dword [ebx + 0x30]
mov dword [edi + 4], eax
mov dword [ebx + 0x30], ecx
mov esi, dword [esp + 0x74]
mov ebx, edx
mov ebp, ecx
mov ecx, dword [esp + 0xa8]
mov dword [ecx + 0x34], ebx
lea eax, [ebp + ebx*8 - 8]
lea edx, [0x6df8d0]
mov dword [eax], edx
mov eax, dword [0x817f20]
lea ebx, [ebp + ebx*8 - 4]
test eax, eax
je 0x598fe1
call fcn.00466d20
mov dword [edi], esi
mov eax, dword [ebx]
mov dword [edi + 4], eax
mov dword [ebx], esi
mov eax, ecx
lea esi, [0x6df8a8]
jmp 0x598bce
mov dword [esp + 0x2c], ecx
lea edi, [esp + 0x90]
mov edx, eax
xor eax, eax
call fcn.00466f5b
mov dword [esp + 0x90], edx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x9c], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xa0], ecx
lea ecx, [0x5c0f80]
mov dword [esp], ecx
lea edx, [esp + 0x90]
mov dword [esp + 4], edx
call fcn.004093e0
mov ecx, dword [esp + 0xa8]
mov edx, dword [ecx + 0x2c]
mov ebx, dword [ecx + 0x28]
inc ebx
mov ebp, dword [ecx + 0x24]
mov esi, dword [esp + 8]
cmp edx, ebx
jae 0x5990ca
mov dword [esp + 0x74], esi
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x5b6820]
mov dword [esp + 0x10], eax
call fcn.0044d390
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0xa8]
mov dword [ebx + 0x2c], eax
mov eax, dword [0x817f20]
test eax, eax
je 0x5990b8
call fcn.00466d20
mov dword [edi], ecx
mov eax, dword [ebx + 0x24]
mov dword [edi + 4], eax
mov dword [ebx + 0x24], ecx
mov esi, dword [esp + 0x74]
mov ebx, edx
mov ebp, ecx
mov ecx, dword [esp + 0xa8]
mov dword [ecx + 0x28], ebx
lea eax, [ebp + ebx*8 - 8]
lea edx, [0x6df8bc]
mov dword [eax], edx
mov eax, dword [0x817f20]
lea ebx, [ebp + ebx*8 - 4]
test eax, eax
je 0x5990f3
call fcn.00466d20
mov dword [edi], esi
mov eax, dword [ebx]
mov dword [edi + 4], eax
mov dword [ebx], esi
mov eax, ecx
lea esi, [0x6df8a8]
jmp 0x598bce
lea eax, [0x5afa40]
mov dword [esp], eax
call fcn.0040bd60
mov eax, dword [esp + 4]
lea ecx, [0x6df894]
mov dword [eax], ecx
lea edx, [0x817b80]
mov dword [eax + 4], edx
mov ebx, dword [esp + 0xa8]
mov dword [ebx + 0x28], 1
mov dword [ebx + 0x2c], 1
mov ebp, dword [0x817f20]
test ebp, ebp
je 0x599151
call fcn.00466d20
mov dword [edi], eax
mov ebp, dword [ebx + 0x24]
mov dword [edi + 4], ebp
mov dword [ebx + 0x24], eax
lea eax, [0x5afa40]
mov dword [esp], eax
call fcn.0040bd60
mov eax, dword [esp + 4]
lea ecx, [0x6df894]
mov dword [eax], ecx
lea ecx, [0x817b80]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0xa8]
mov dword [ecx + 0x34], 1
mov dword [ecx + 0x38], 1
mov edx, dword [0x817f20]
test edx, edx
je 0x5991a3
call fcn.00466d20
mov dword [edi], eax
mov edx, dword [ecx + 0x30]
mov dword [edi + 4], edx
mov dword [ecx + 0x30], eax
add esp, 0xa4
ret
add esp, 0xa4
ret
xor eax, eax
mov ecx, eax
call fcn.00466d70
mov eax, 1
xor ecx, ecx
call fcn.00466dd0
nop
call fcn.00465910
jmp fcn.00598ac0