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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x2e4]
cmp eax, dword [ecx + 8]
jbe 0x5e052a
sub esp, 0x364
mov ecx, dword [esp + 0x368]
mov edx, dword [ecx + 0x138]
mov eax, dword [ecx + 0x13c]
test edx, edx
je 0x5dfa23
nop
movzx ebx, byte [0x8bd208]
test bl, bl
je 0x5df9e9
mov dword [0x8bd20c], edx
mov ebx, dword [0x8e4520]
test ebx, ebx
jne 0x5df9de
mov dword [0x8bd210], eax
jmp 0x5df9e9
lea edi, [0x8bd210]
call fcn.00462a70
mov dword [esp + 0x284], edx
mov dword [esp + 0x288], eax
mov edx, dword [esp + 0x284]
test edx, edx
je 0x5dfa1b
nop
movzx ebx, byte [edx + 0xf]
mov ebp, ebx
and ebx, 0x1f
xchg ebp, eax
test al, 0x20
xchg ebp, eax
jne 0x5dfa29
or ebx, 0x80
jmp 0x5dfa29
xor ebx, ebx
xor edx, edx
xor eax, eax
jmp 0x5dfa29
xor ebx, ebx
xor edx, edx
xor eax, eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x264], eax
mov dword [esp + 0x260], edx
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 0x18
call fcn.004b6af0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
and eax, 0x1f
mov dword [esp + 0x7c], eax
cmp eax, 9
ja 0x5dfa88
cmp eax, 7
jne 0x5dfa70
mov eax, dword [ecx]
jmp 0x5dfaa5
cmp eax, 8
jne 0x5dfa7a
movzx eax, byte [ecx]
jmp 0x5dfaa5
cmp eax, 9
jne 0x5e04ef
movzx eax, word [ecx]
jmp 0x5dfaa5
cmp eax, 0xa
jne 0x5dfa91
mov eax, dword [ecx]
jmp 0x5dfaa5
cmp eax, 0xb
jne 0x5dfa9a
mov eax, dword [ecx]
jmp 0x5dfaa5
cmp eax, 0xc
jne 0x5e04ef
mov eax, dword [ecx]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x260]
mov dword [esp], ecx
mov edx, dword [esp + 0x264]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x24]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 0x17
call fcn.004b6af0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
and eax, 0x1f
mov dword [esp + 0x7c], eax
cmp eax, 9
ja 0x5dfb0e
cmp eax, 7
jne 0x5dfaf2
mov eax, dword [ecx]
xor ecx, ecx
jmp 0x5dfb32
cmp eax, 8
jne 0x5dfafe
movzx eax, byte [ecx]
xor ecx, ecx
jmp 0x5dfb32
cmp eax, 9
jne 0x5e04b5
movzx eax, word [ecx]
xor ecx, ecx
jmp 0x5dfb32
cmp eax, 0xa
jne 0x5dfb19
mov eax, dword [ecx]
xor ecx, ecx
jmp 0x5dfb32
cmp eax, 0xb
jne 0x5dfb25
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
jmp 0x5dfb32
cmp eax, 0xc
jne 0x5e04b5
mov eax, dword [ecx]
xor ecx, ecx
test ecx, ecx
seta dl
sete bl
test eax, eax
xchg ebp, ebx
seta bl
xchg ebp, ebx
and ebx, ebp
or ebx, edx
test bl, bl
je 0x5dfd4f
mov dword [esp + 0x30], eax
mov edx, dword [esp + 0x34]
and edx, 0xf0000000
shr edx, 0x1c
mov dword [esp + 0x78], edx
mov ebx, dword [esp + 0x368]
movzx ebp, byte [ebx + 0x294]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x5dfc63
mov eax, dword [esp + 0x260]
mov dword [esp], eax
mov eax, dword [esp + 0x264]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0x16
call fcn.004b6af0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
and eax, 0x1f
mov dword [esp + 0x7c], eax
cmp eax, 9
ja 0x5dfbdb
cmp eax, 7
jne 0x5dfbc3
mov ecx, dword [ecx]
jmp 0x5dfbf8
cmp eax, 8
jne 0x5dfbcd
movzx ecx, byte [ecx]
jmp 0x5dfbf8
cmp eax, 9
jne 0x5e047b
movzx ecx, word [ecx]
jmp 0x5dfbf8
cmp eax, 0xa
jne 0x5dfbe4
mov ecx, dword [ecx]
jmp 0x5dfbf8
cmp eax, 0xb
jne 0x5dfbed
mov ecx, dword [ecx]
jmp 0x5dfbf8
cmp eax, 0xc
jne 0x5e047b
mov ecx, dword [ecx]
mov dword [esp + 0x2c], ecx
lea edi, [esp + 0x90]
xor eax, eax
call fcn.00462cc8
mov ecx, dword [esp + 0x368]
mov edx, dword [ecx + 0x78]
mov esi, dword [ecx + 0x7c]
lea ebx, [0x693180]
cmp edx, ebx
jne 0x5e0465
lea edi, [esp + 0x90]
call fcn.00462fe0
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0xac]
mov ecx, dword [esp + 0x368]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.005dac10
mov eax, dword [esp + 8]
mov ecx, 1
xor edx, edx
xor ebx, ebx
xor ebp, ebp
jmp 0x5e0131
mov dword [esp + 0x38], ecx
mov eax, dword [esp + 0x260]
mov dword [esp], eax
mov eax, dword [esp + 0x264]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0x16
call fcn.004b6af0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
and eax, 0x1f
mov dword [esp + 0x7c], eax
cmp eax, 9
ja 0x5dfcc6
cmp eax, 7
jne 0x5dfcae
mov ecx, dword [ecx]
jmp 0x5dfce3
cmp eax, 8
jne 0x5dfcb8
movzx ecx, byte [ecx]
jmp 0x5dfce3
cmp eax, 9
jne 0x5e00df
movzx ecx, word [ecx]
jmp 0x5dfce3
cmp eax, 0xa
jne 0x5dfccf
mov ecx, dword [ecx]
jmp 0x5dfce3
cmp eax, 0xb
jne 0x5dfcd8
mov ecx, dword [ecx]
jmp 0x5dfce3
cmp eax, 0xc
jne 0x5e00df
mov ecx, dword [ecx]
mov dword [esp + 0x28], ecx
lea edi, [esp + 0x170]
xor eax, eax
call fcn.00462cc4
mov ecx, dword [esp + 0x368]
mov edx, dword [ecx + 0x78]
mov esi, dword [ecx + 0x7c]
lea ebx, [0x692c40]
cmp edx, ebx
jne 0x5e00c9
lea edi, [esp + 0x170]
call fcn.00462fb8
mov eax, dword [esp + 0x188]
mov ecx, dword [esp + 0x28]
sub ecx, eax
mov eax, dword [esp + 0x368]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.005dac10
mov eax, dword [esp + 8]
mov ecx, 1
xor edx, edx
xor ebx, ebx
xor ebp, ebp
xor esi, esi
jmp 0x5dfd8a
xor eax, eax
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x36c], edx
mov dword [esp + 0x370], ecx
mov dword [esp + 0x374], eax
add esp, 0x364
ret
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x70]
mov eax, ebp
mov ebx, dword [esp + 0x64]
mov ebp, dword [esp + 0x60]
mov esi, dword [esp + 0x278]
mov dword [esp + 0x64], ebx
mov dword [esp + 0x60], ebp
mov edi, dword [esp + 0x38]
cmp edx, edi
setb bl
mov ebp, dword [esp + 0x30]
cmp ecx, ebp
xchg ebp, ebx
setbe bl
xchg ebp, ebx
cmp edx, edi
xchg edi, ebx
sete bl
xchg edi, ebx
and ebp, edi
or ebp, ebx
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x5e0020
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x270], esi
mov dword [esp + 0x40], eax
lea eax, [0x662da0]
mov dword [esp], eax
call fcn.0040b7c0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x368]
mov edx, dword [ecx + 0x2ac]
add edx, 0xfffffffc
mov ebx, dword [esp + 0x40]
cmp ebx, edx
jbe 0x5dfe06
mov edx, dword [0x8bc9f8]
xor ebp, ebp
jmp 0x5dfe3d
mov edx, dword [ecx + 0x28c]
mov ebp, dword [ecx + 0x288]
mov esi, dword [ecx + 0x290]
cmp ebx, edx
ja 0x5e00c0
sub edx, ebx
sub esi, ebx
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, ebx
cmp edx, 3
jbe 0x5e00b4
mov ebp, dword [esi + ebp]
xor edx, edx
test edx, edx
jne 0x5dfff5
mov dword [esp + 0x54], ebp
mov edx, dword [esp + 0x78]
test edx, edx
xchg esi, ebx
seta bl
xchg esi, ebx
and esi, 1
xchg esi, eax
test al, al
xchg esi, eax
jne 0x5dfe6a
xor eax, eax
xor esi, esi
xor edi, edi
jmp 0x5dfefb
mov dword [esp + 0x27c], eax
mov dword [esp], ecx
lea ebp, [0x655b20]
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
lea esi, [ebx + 4]
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edx
call fcn.005db930
mov eax, dword [esp + 0x27c]
movzx eax, byte [eax]
cmp al, 1
je 0x5dfea6
cmp al, 2
jne 0x5dfede
mov byte [esp + 0x23], al
lea edi, [esp + 0x28c]
xor eax, eax
call fcn.00462cf7
mov ecx, dword [esp + 0x368]
mov edx, dword [ecx + 0xbc]
mov ebx, dword [ecx + 0xb8]
test edx, edx
je 0x5e002f
mov ebp, dword [esp + 0x54]
xor esi, esi
jmp 0x5e0072
xor ecx, ecx
xor edx, edx
mov ebx, dword [esp + 0x40]
mov ebp, dword [esp + 0x54]
mov esi, eax
mov edi, ecx
mov ecx, dword [esp + 0x368]
mov eax, edx
mov edx, dword [esp + 0x78]
mov ecx, dword [esp + 0x60]
lea edx, [ecx + 1]
mov ebx, dword [esp + 0x64]
cmp ebx, edx
jb 0x5dff28
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x270]
mov dword [esp + 0x278], eax
mov eax, dword [esp + 0x88]
jmp 0x5dff8c
mov dword [esp + 0x268], eax
mov dword [esp + 0x58], edi
xchg esi, eax
mov byte [esp + 0x21], al
xchg esi, eax
lea eax, [0x67ac40]
mov dword [esp], eax
mov ebp, dword [esp + 0x270]
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edx
call fcn.0044b610
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
lea edx, [eax + 1]
mov eax, dword [esp + 0x268]
mov ecx, dword [esp + 0x60]
mov ebp, dword [esp + 0x54]
mov edi, dword [esp + 0x58]
mov dword [esp + 0x278], esi
movzx esi, byte [esp + 0x21]
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], ebx
mov edx, dword [esp + 0x48]
add edx, 1
mov dword [esp + 0x74], edx
shl ecx, 4
mov edx, dword [esp + 0x278]
mov dword [edx + ecx], ebp
xchg esi, eax
mov byte [edx + ecx + 4], al
xchg esi, eax
mov dword [edx + ecx + 0xc], edi
mov ebp, dword [esp + 0x48]
add ebp, 1
mov ebp, dword [esp + 0x4c]
adc ebp, 0
mov dword [esp + 0x70], ebp
mov esi, dword [0x8e4520]
lea edi, [edx + ecx + 8]
mov ebx, dword [esp + 0x78]
mov ebp, dword [esp + 0x40]
lea ebp, [ebp + ebx + 4]
test esi, esi
jne 0x5dffeb
mov dword [edx + ecx + 8], eax
jmp 0x5dfd71
call fcn.00462a70
jmp 0x5dfd71
mov eax, dword [esp + 0x270]
mov dword [esp + 0x36c], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x370], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x374], eax
add esp, 0x364
ret
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x60]
mov edx, esi
jmp 0x5dfd55
lea edi, [esp + 0x28c]
call fcn.00462cf7
lea edi, [esp + 0x2d4]
lea esi, [esp + 0x28c]
call fcn.004631b6
mov edx, dword [esp + 0x2e4]
mov ecx, dword [esp + 0x2e8]
movzx eax, byte [esp + 0x23]
jmp 0x5dfee2
add ebx, 0x24
mov esi, ecx
mov ecx, dword [esp + 0x368]
mov dword [esp + 0x6c], esi
lea edi, [esp + 0x31c]
mov esi, ebx
call fcn.004631b6
cmp dword [esp + 0x320], ebp
je 0x5e009f
mov ecx, dword [esp + 0x6c]
inc ecx
cmp edx, ecx
jg 0x5e0066
mov ecx, dword [esp + 0x368]
jmp 0x5e002f
lea edi, [esp + 0x28c]
lea esi, [esp + 0x31c]
call fcn.004631b6
jmp 0x5e003b
mov eax, 3
mov ecx, edx
call fcn.00462af0
mov eax, ebx
mov ecx, edx
call fcn.00462b60
mov dword [esp], edx
mov dword [esp + 4], ebx
lea eax, [0x662460]
mov dword [esp + 8], eax
call fcn.00408df0
lea eax, [0x673a40]
mov dword [esp], eax
call fcn.0040b7c0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x12
lea ecx, [0x6a06f4]
mov dword [eax], ecx
mov ecx, dword [esp + 0x7c]
mov dword [eax + 8], ecx
lea ecx, [0x66a560]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00436d20
mov edi, dword [esp + 0x50]
lea ecx, [edi + 1]
mov eax, ebx
mov edx, dword [esp + 0x68]
mov ebx, dword [esp + 0x6c]
mov ebp, dword [esp + 0x274]
mov esi, dword [esp + 0x30]
cmp ecx, esi
ja 0x5e03be
mov dword [esp + 0x64], edx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x270], ebp
mov dword [esp + 0x44], eax
lea eax, [0x662da0]
mov dword [esp], eax
call fcn.0040b7c0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x368]
mov edx, dword [ecx + 0x2ac]
add edx, 0xfffffffc
mov ebx, dword [esp + 0x44]
cmp ebx, edx
jbe 0x5e0188
mov edx, dword [0x8bc9f8]
xor ebp, ebp
jmp 0x5e01bf
mov edx, dword [ecx + 0x28c]
mov ebp, dword [ecx + 0x288]
mov esi, dword [ecx + 0x290]
cmp ebx, edx
ja 0x5e045c
sub edx, ebx
sub esi, ebx
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, ebx
cmp edx, 3
jbe 0x5e0450
mov ebp, dword [esi + ebp]
xor edx, edx
test edx, edx
jne 0x5e0393
mov dword [esp + 0x3c], ebp
mov edx, dword [esp + 0x78]
test edx, edx
xchg esi, ebx
seta bl
xchg esi, ebx
and esi, 1
xchg esi, eax
test al, al
xchg esi, eax
jne 0x5e01ec
xor eax, eax
xor esi, esi
xor edi, edi
jmp 0x5e0289
mov dword [esp + 0x280], eax
mov dword [esp], ecx
lea ebp, [0x655b20]
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
lea esi, [ebx + 4]
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edx
call fcn.005db930
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x5e0368
mov ecx, dword [esp + 0x280]
movzx ecx, byte [ecx]
cmp cl, 1
je 0x5e0234
cmp cl, 2
jne 0x5e026c
mov byte [esp + 0x23], cl
lea edi, [esp + 0x2b0]
xor eax, eax
call fcn.00462cf7
mov ecx, dword [esp + 0x368]
mov edx, dword [ecx + 0xbc]
mov ebx, dword [ecx + 0xb8]
test edx, edx
je 0x5e03c9
mov ebp, dword [esp + 0x3c]
xor esi, esi
jmp 0x5e040e
xor eax, eax
xor edx, edx
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x3c]
mov esi, ecx
mov edi, eax
mov ecx, dword [esp + 0x368]
mov eax, edx
mov edx, dword [esp + 0x78]
mov ecx, dword [esp + 0x60]
lea edx, [ecx + 1]
mov ebx, dword [esp + 0x64]
cmp ebx, edx
jb 0x5e02b6
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x270]
mov dword [esp + 0x274], eax
mov eax, dword [esp + 0x80]
jmp 0x5e031c
mov dword [esp + 0x26c], eax
mov dword [esp + 0x5c], edi
xchg esi, eax
mov byte [esp + 0x22], al
xchg esi, eax
lea eax, [0x67ac40]
mov dword [esp], eax
mov ebp, dword [esp + 0x270]
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edx
call fcn.0044b610
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
inc eax
mov ecx, dword [esp + 0x60]
movzx esi, byte [esp + 0x22]
mov edi, dword [esp + 0x5c]
mov dword [esp + 0x274], ebp
mov ebx, edx
mov ebp, dword [esp + 0x3c]
mov edx, eax
mov eax, dword [esp + 0x26c]
mov dword [esp + 0x6c], edx
mov dword [esp + 0x68], ebx
shl ecx, 4
mov edx, dword [esp + 0x274]
mov dword [edx + ecx], ebp
xchg esi, eax
mov byte [edx + ecx + 4], al
xchg esi, eax
mov dword [edx + ecx + 0xc], edi
mov ebp, dword [0x8e4520]
lea edi, [edx + ecx + 8]
mov esi, dword [esp + 0x78]
mov ebx, dword [esp + 0x44]
lea ebx, [ebx + esi + 4]
test ebp, ebp
jne 0x5e035e
mov dword [edx + ecx + 8], eax
jmp 0x5e0119
call fcn.00462a70
jmp 0x5e0119
mov eax, dword [esp + 0x270]
mov dword [esp + 0x36c], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x370], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x374], eax
add esp, 0x364
ret
mov eax, dword [esp + 0x270]
mov dword [esp + 0x36c], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x370], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x374], eax
add esp, 0x364
ret
mov eax, edx
mov ecx, ebx
mov esi, ebp
jmp 0x5e0028
lea edi, [esp + 0x2b0]
call fcn.00462cf7
lea edi, [esp + 0x2f8]
lea esi, [esp + 0x2b0]
call fcn.004631b6
mov edx, dword [esp + 0x308]
mov ecx, dword [esp + 0x30c]
mov eax, ecx
movzx ecx, byte [esp + 0x23]
jmp 0x5e0270
add ebx, 0x24
mov esi, ecx
mov ecx, dword [esp + 0x368]
mov dword [esp + 0x6c], esi
lea edi, [esp + 0x340]
mov esi, ebx
call fcn.004631b6
cmp dword [esp + 0x344], ebp
je 0x5e043b
mov ecx, dword [esp + 0x6c]
inc ecx
cmp edx, ecx
jg 0x5e0402
mov ecx, dword [esp + 0x368]
jmp 0x5e03c9
lea edi, [esp + 0x2b0]
lea esi, [esp + 0x340]
call fcn.004631b6
jmp 0x5e03d5
mov eax, 3
mov ecx, edx
call fcn.00462af0
mov eax, ebx
mov ecx, edx
call fcn.00462b60
mov dword [esp], edx
mov dword [esp + 4], ebx
lea eax, [0x662460]
mov dword [esp + 8], eax
call fcn.00408df0
lea eax, [0x673a40]
mov dword [esp], eax
call fcn.0040b7c0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x12
lea ecx, [0x6a06f4]
mov dword [eax], ecx
mov ecx, dword [esp + 0x7c]
mov dword [eax + 8], ecx
lea ecx, [0x66a560]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00436d20
lea eax, [0x673a40]
mov dword [esp], eax
call fcn.0040b7c0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x12
lea ecx, [0x6a06f4]
mov dword [eax], ecx
mov ecx, dword [esp + 0x7c]
mov dword [eax + 8], ecx
lea ecx, [0x66a560]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00436d20
lea eax, [0x673a40]
mov dword [esp], eax
call fcn.0040b7c0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x12
lea ecx, [0x6a06f4]
mov dword [eax], ecx
mov ecx, dword [esp + 0x7c]
mov dword [eax + 8], ecx
lea ecx, [0x66a560]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00436d20
nop
call fcn.00461660
jmp fcn.005df980