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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x14]
cmp eax, dword [ecx + 8]
jbe 0x589957
sub esp, 0x94
mov eax, dword [esp + 0xa8]
cmp eax, 3
jge 0x5897d5
jge 0x5895fe
cmp eax, 2
jne 0x5895f2
mov ecx, dword [esp + 0xa4]
cmp word [ecx], 0x7069
jne 0x589590
mov edx, dword [esp + 0xb0]
test edx, edx
je 0x589587
mov ebx, dword [esp + 0xac]
xor ebp, ebp
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov esi, ebx
lea ebx, [0x59db70]
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], ebp
test edx, edx
jne 0x5892ec
mov dword [esp + 0x34], ebp
lea edi, [esp + 0x6c]
lea esi, [0xa4fce0]
call fcn.0045778e
cmp eax, 3
jge 0x589130
jge 0x589017
cmp eax, 2
jne 0x58900b
mov ecx, dword [esp + 0xa4]
cmp word [ecx], 0x7069
jne 0x588fe8
lea eax, [0x91a7a0]
mov dword [esp], eax
call fcn.0040ae10
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x6c]
mov edi, dword [esp + 4]
mov dword [edi + 4], ecx
mov dword [edi + 8], eax
mov eax, dword [0xdd7ec0]
test eax, eax
jne 0x588fdc
mov dword [edi], edx
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x78]
mov dword [edi + 0x10], ecx
mov ecx, dword [0xdd7ec0]
test ecx, ecx
jne 0x588fc9
mov dword [edi + 0xc], eax
lea eax, [0xa51960]
mov dword [esp + 0x30], eax
mov dword [esp + 0x48], edi
lea ecx, [0x8d59a0]
mov dword [esp], ecx
call fcn.0040ae10
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x30]
mov dword [eax], ecx
mov ecx, dword [0xdd7ec0]
test ecx, ecx
jne 0x588fb7
mov ecx, dword [esp + 0x48]
mov dword [eax + 4], ecx
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], 1
mov dword [esp + 0xbc], 1
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
add esp, 0x94
ret
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x48]
call fcn.00456fe0
mov eax, ecx
jmp 0x588f7d
lea ecx, [edi + 0xc]
mov edx, edi
mov edi, ecx
call fcn.00456fe0
mov edi, edx
jmp 0x588f46
mov eax, edx
call fcn.00456fe0
jmp 0x588f2a
cmp eax, 3
jne 0x589906
cmp word [ecx], 0x7069
jne 0x589906
cmp byte [ecx + 2], 0x34
je 0x588ef6
jmp 0x589906
cmp eax, 3
mov ecx, dword [esp + 0xa4]
jmp 0x588feb
je 0x5890e4
jne 0x5890d8
mov ecx, dword [esp + 0xa4]
cmp word [ecx], 0x7069
jne 0x5890d0
cmp byte [ecx + 2], 0x36
je 0x588ef6
cmp eax, 3
jne 0x589906
cmp word [ecx], 0x6374
jne 0x589906
cmp byte [ecx + 2], 0x70
jne 0x589906
lea eax, [0x92c9e0]
mov dword [esp], eax
call fcn.0040ae10
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x70]
mov edi, dword [esp + 4]
mov dword [edi + 4], edx
mov dword [edi + 8], eax
mov eax, dword [0xdd7ec0]
test eax, eax
jne 0x5890c7
mov dword [edi], ecx
mov ecx, dword [esp + 0x34]
mov dword [edi + 0xc], ecx
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x78]
mov dword [edi + 0x14], ecx
mov ecx, dword [0xdd7ec0]
test ecx, ecx
jne 0x5890b7
mov dword [edi + 0x10], eax
lea eax, [0xa519a0]
jmp 0x588f4c
lea ecx, [edi + 0x10]
mov edx, edi
mov edi, ecx
call fcn.00456fe0
mov edi, edx
jmp 0x5890ac
mov eax, ecx
call fcn.00456fe0
jmp 0x58908d
cmp eax, 3
jmp 0x589042
mov ecx, dword [esp + 0xa4]
jmp 0x589042
mov ecx, dword [esp + 0xa4]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea edx, [0x9821ad]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 3
call fcn.004021e0
mov eax, dword [esp + 0x10]
test eax, eax
jg 0x58911d
mov eax, dword [esp + 0xa8]
jmp 0x588edb
mov eax, dword [esp + 0xa8]
cmp eax, 3
mov ebp, dword [esp + 0x34]
jmp 0x58901d
je 0x58929c
cmp eax, 4
jge 0x5891fe
cmp eax, 3
jne 0x5891f2
mov ecx, dword [esp + 0xa4]
cmp word [ecx], 0x6475
jne 0x5891ed
cmp byte [ecx + 2], 0x70
jne 0x5891d3
lea eax, [0x92ca60]
mov dword [esp], eax
call fcn.0040ae10
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x6c]
mov edi, dword [esp + 4]
mov dword [edi + 4], eax
mov dword [edi + 8], ecx
mov eax, dword [0xdd7ec0]
test eax, eax
jne 0x5891ca
mov dword [edi], edx
mov ecx, dword [esp + 0x34]
mov dword [edi + 0xc], ecx
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x78]
mov dword [edi + 0x14], ecx
mov ecx, dword [0xdd7ec0]
test ecx, ecx
jne 0x5891ba
mov dword [edi + 0x10], eax
lea eax, [0xa519c0]
jmp 0x588f4c
lea ecx, [edi + 0x10]
mov edx, edi
mov edi, ecx
call fcn.00456fe0
mov edi, edx
jmp 0x5891af
mov eax, edx
call fcn.00456fe0
jmp 0x589190
cmp eax, 4
jne 0x589906
cmp dword [ecx], 0x34706374
je 0x58905d
jmp 0x589906
cmp eax, 4
jmp 0x5891d6
cmp eax, 4
mov ecx, dword [esp + 0xa4]
jmp 0x5891d6
je 0x589249
jne 0x589240
mov ecx, dword [esp + 0xa4]
cmp dword [ecx], 0x36706374
je 0x58905d
cmp eax, 4
jne 0x589229
cmp dword [ecx], 0x34706475
je 0x589160
cmp eax, 4
jne 0x589906
cmp dword [ecx], 0x36706475
je 0x589160
jmp 0x589906
mov ecx, dword [esp + 0xa4]
jmp 0x589218
mov ecx, dword [esp + 0xa4]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea edx, [0x982980]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 4
call fcn.004021e0
mov eax, dword [esp + 0x10]
test eax, eax
jg 0x589289
mov eax, dword [esp + 0xa8]
cmp eax, 3
mov ebp, dword [esp + 0x34]
jmp 0x589142
mov eax, dword [esp + 0xa8]
cmp eax, 4
mov ebp, dword [esp + 0x34]
jmp 0x589200
mov ecx, dword [esp + 0xa4]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea edx, [0x982246]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 3
call fcn.004021e0
mov eax, dword [esp + 0x10]
test eax, eax
jg 0x5892dc
mov eax, dword [esp + 0xa8]
cmp eax, 3
mov ebp, dword [esp + 0x34]
jmp 0x588ed5
mov eax, dword [esp + 0xa8]
mov ebp, dword [esp + 0x34]
jmp 0x589136
mov dword [esp + 0x58], esi
mov dword [esp + 0x40], edx
mov ebx, dword [esp + 0x98]
mov dword [esp], ebx
mov ebx, dword [esp + 0x9c]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0xa0]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], edx
call fcn.0058ac10
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x1c]
test ecx, ecx
jne 0x589551
mov dword [esp + 0x38], ebx
cmp ebx, 1
je 0x5894fc
xor eax, eax
test al, al
je 0x5894f3
lea edi, [esp + 0x80]
xor eax, eax
call fcn.004572ab
mov ecx, dword [0xdc3600]
mov eax, ebp
mov ebp, dword [0xdc35f8]
mov esi, edx
mov edx, dword [0xdc35fc]
mov dword [esp + 0x80], ebp
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], ecx
lea ecx, [ebx + 1]
cmp ecx, esi
ja 0x5894bf
mov dword [esp + 0x38], ecx
lea edx, [ebx + ebx*4]
mov ebx, dword [0xdd7ec0]
lea edi, [eax + edx*4]
test ebx, ebx
jne 0x58948d
mov edx, esi
lea esi, [esp + 0x80]
call fcn.0045778e
mov ecx, dword [esp + 0x38]
mov ebx, dword [esp + 0xa8]
test ebx, ebx
je 0x589484
mov ebp, dword [esp + 0xa4]
movzx esi, byte [ebp + ebx - 1]
xchg esi, eax
cmp al, 0x34
xchg esi, eax
jne 0x589478
test ebx, ebx
lea esi, [0x9b2700]
je 0x589474
movzx ebx, byte [ebp + ebx - 1]
cmp bl, 0x36
jne 0x589474
lea ebx, [0x9b2704]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
lea eax, [esp + 0x5c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x18], eax
call fcn.00588330
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0xb4], ebp
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], edx
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], ecx
add esp, 0x94
ret
mov ebx, esi
jmp 0x58940a
test ebx, ebx
mov esi, 0
jmp 0x5893f8
mov ebp, dword [esp + 0xa4]
jmp 0x58947a
mov dword [esp + 0x4c], eax
mov dword [esp + 0x3c], esi
lea eax, [0x91a7a0]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x80]
mov dword [esp + 8], eax
call fcn.00410ec0
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x3c]
jmp 0x5893c6
lea edx, [0x91a7a0]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ecx
call fcn.00440660
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
inc ecx
mov ebx, dword [esp + 0x38]
jmp 0x5893a0
mov eax, ebp
mov ecx, ebx
jmp 0x5893ca
mov dword [esp + 0x44], edx
mov dword [esp + 0x54], ebp
mov eax, dword [ebp]
mov ecx, dword [ebp + 4]
mov edx, dword [ebp + 8]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov eax, dword [0xdb9fa0]
mov ecx, dword [0xdb9f9c]
mov edx, dword [0xdb9f98]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
call fcn.00584660
movzx eax, byte [esp + 0x18]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x54]
jmp 0x589354
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xc4], eax
add esp, 0x94
ret
xor ebx, ebx
xor edx, edx
jmp 0x588e77
cmp eax, 3
jne 0x5895a6
cmp word [ecx], 0x7069
jne 0x5895a6
cmp byte [ecx + 2], 0x34
je 0x588e61
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004086a0
mov eax, dword [esp + 8]
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
lea ecx, [0xa4ef20]
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xc4], eax
add esp, 0x94
ret
cmp eax, 3
mov ecx, dword [esp + 0xa4]
jmp 0x589593
je 0x58978d
jne 0x589781
mov ecx, dword [esp + 0xa4]
cmp word [ecx], 0x7069
jne 0x589779
cmp byte [ecx + 2], 0x36
je 0x588e61
cmp eax, 3
jne 0x5895a6
cmp word [ecx], 0x6374
jne 0x5895a6
cmp byte [ecx + 2], 0x70
jne 0x5895a6
mov edx, dword [esp + 0xb0]
test edx, edx
jne 0x589662
xor edx, edx
xor ebx, ebx
xor ebp, ebp
mov esi, ebp
mov ebp, edx
mov edx, ebx
mov ebx, esi
jmp 0x588e79
mov eax, dword [esp + 0xac]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00588690
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 8]
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
test ebp, ebp
jne 0x589743
mov dword [esp + 0x40], edx
mov dword [esp + 0x50], ebx
mov edx, dword [esp + 0x98]
mov dword [esp], edx
mov ebx, dword [esp + 0x9c]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0xa0]
mov dword [esp + 8], ebp
mov esi, dword [esp + 0xa4]
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0xa8]
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
call fcn.0058b6c0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
test ecx, ecx
jne 0x58970d
mov ecx, dword [esp + 0xa4]
mov edx, eax
mov ebx, dword [esp + 0x40]
mov ebp, dword [esp + 0x50]
mov eax, dword [esp + 0xa8]
jmp 0x589655
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xc4], edx
add esp, 0x94
ret
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], ebp
mov dword [esp + 0xc4], esi
add esp, 0x94
ret
cmp eax, 3
jmp 0x589629
mov ecx, dword [esp + 0xa4]
jmp 0x589629
mov ecx, dword [esp + 0xa4]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea edx, [0x9821ad]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 3
call fcn.004021e0
mov eax, dword [esp + 0x10]
test eax, eax
jg 0x5897c6
mov eax, dword [esp + 0xa8]
jmp 0x588e46
mov eax, dword [esp + 0xa8]
cmp eax, 3
jmp 0x589604
je 0x5898be
cmp eax, 4
jge 0x589828
cmp eax, 3
jne 0x58981c
mov ecx, dword [esp + 0xa4]
cmp word [ecx], 0x6475
jne 0x589817
cmp byte [ecx + 2], 0x70
je 0x589644
cmp eax, 4
jne 0x5895a6
cmp dword [ecx], 0x34706374
je 0x589644
jmp 0x5895a6
cmp eax, 4
jmp 0x589800
cmp eax, 4
mov ecx, dword [esp + 0xa4]
jmp 0x589800
je 0x589873
jne 0x58986a
mov ecx, dword [esp + 0xa4]
cmp dword [ecx], 0x36706374
je 0x589644
cmp eax, 4
jne 0x589853
cmp dword [ecx], 0x34706475
je 0x589644
cmp eax, 4
jne 0x5895a6
cmp dword [ecx], 0x36706475
je 0x589644
jmp 0x5895a6
mov ecx, dword [esp + 0xa4]
jmp 0x589842
mov ecx, dword [esp + 0xa4]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea edx, [0x982980]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 4
call fcn.004021e0
mov eax, dword [esp + 0x10]
test eax, eax
jg 0x5898af
mov eax, dword [esp + 0xa8]
cmp eax, 3
jmp 0x5897e3
mov eax, dword [esp + 0xa8]
cmp eax, 4
jmp 0x58982a
mov ecx, dword [esp + 0xa4]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea edx, [0x982246]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 3
call fcn.004021e0
mov eax, dword [esp + 0x10]
test eax, eax
jg 0x5898fa
mov eax, dword [esp + 0xa8]
cmp eax, 3
jmp 0x588e40
mov eax, dword [esp + 0xa8]
jmp 0x5897db
mov dword [esp], 0
lea edx, [0x98f04c]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x14
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
call fcn.00443900
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004086a0
mov eax, dword [esp + 8]
lea ecx, [0x8eba40]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0042cff0
nop
call fcn.004557a0
jmp fcn.00588e10