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

Disassembly:
mov ecx, dword [0xe11d80]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x14]
cmp eax, dword [ecx + 8]
jbe 0x5df18c
sub esp, 0x94
mov eax, 0
mov dword [esp + 0x90], eax
mov byte [esp + 0x3b], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
mov ecx, dword [esp + 0x98]
mov edx, dword [ecx + 0x10]
test edx, edx
je 0x5dec43
movzx edx, byte [esp + 0x9c]
cmp dl, 0x16
jne 0x5debfc
mov edx, dword [ecx + 0x10]
mov ebx, dword [edx + 4]
test ebx, ebx
je 0x5de9c8
mov edx, dword [edx]
lea ebx, [ebx + ebx*2]
lea edx, [edx + ebx*8 - 0x18]
jmp 0x5de9ca
xor edx, edx
mov ebx, dword [ecx + 0x174]
test edx, edx
je 0x5de9e2
cmp dword [edx], 3
jne 0x5de9e2
cmp dword [edx + 4], ebx
je 0x5dead6
lea edi, [esp + 0x78]
xor eax, eax
call fcn.0046992a
mov dword [esp + 0x78], 3
mov dword [esp + 0x7c], ebx
mov ecx, dword [esp + 0x98]
mov edx, dword [ecx + 0x10]
mov ebx, dword [edx + 8]
mov ebp, dword [edx + 4]
inc ebp
mov eax, dword [edx]
cmp ebx, ebp
jae 0x5dea6e
mov dword [esp + 0x58], edx
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x9169a0]
mov dword [esp + 0x10], eax
call fcn.0044e860
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x58]
mov dword [ebx + 8], eax
mov eax, dword [0xe12160]
test eax, eax
je 0x5dea5f
call fcn.00469690
mov dword [edi], ecx
mov ebp, dword [ebx]
mov dword [edi + 4], ebp
mov dword [ebx], ecx
mov ebp, edx
mov eax, ecx
mov ecx, dword [esp + 0x98]
mov edx, ebx
mov dword [edx + 4], ebp
mov edx, dword [0xe12160]
lea ebx, [ebp + ebp*2]
lea edi, [eax + ebx*8 - 0x18]
test edx, edx
je 0x5deaac
mov dword [esp + 0x54], edi
lea eax, [0x9169a0]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x78]
mov dword [esp + 8], eax
call fcn.00411bd0
mov ecx, dword [esp + 0x98]
mov edi, dword [esp + 0x54]
lea esi, [esp + 0x78]
call fcn.00469e04
mov ecx, dword [esp + 0x98]
mov edx, dword [ecx + 0x10]
mov ebx, dword [edx + 4]
lea eax, [ebx - 1]
cmp ebx, eax
jbe 0x5df178
lea eax, [ebx + ebx*2]
mov ebx, dword [edx]
lea edx, [ebx + eax*8 - 0x18]
mov dword [esp + 0x50], edx
mov eax, dword [edx + 0x10]
mov ebx, dword [edx + 0xc]
mov ebp, dword [esp + 0xa4]
lea esi, [ebp + ebx]
mov edi, dword [edx + 8]
cmp eax, esi
jae 0x5deb2b
mov dword [esp + 0x48], ebx
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebp
lea eax, [0x8d9fa0]
mov dword [esp + 0x10], eax
call fcn.0044e860
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x48]
mov ebp, dword [esp + 0xa4]
mov dword [esp + 0x48], eax
mov dword [esp + 0x5c], edi
mov dword [esp + 0x44], esi
lea ecx, [ebx + edi]
mov dword [esp], ecx
mov ecx, dword [esp + 0xa0]
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
call fcn.0046a020
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x50]
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x48]
mov dword [ecx + 0x10], eax
mov eax, dword [0xe12160]
test eax, eax
jne 0x5deb73
mov eax, dword [esp + 0x5c]
jmp 0x5deb84
call fcn.00469690
mov eax, dword [esp + 0x5c]
mov dword [edi], eax
mov edx, dword [ecx + 8]
mov dword [edi + 4], edx
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x98]
movzx ecx, byte [eax + 0x1c4]
test cl, cl
jne 0x5deba9
mov dword [esp], eax
call fcn.005de800
mov eax, dword [esp + 8]
test eax, eax
jne 0x5debd4
mov eax, dword [esp + 0xa4]
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
add esp, 0x94
ret
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], ecx
add esp, 0x94
ret
lea eax, [0x8f2320]
mov dword [esp], eax
call fcn.0040c320
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x44
lea ecx, [0x98a444]
mov dword [eax], ecx
mov dword [esp + 0xac], 0
lea ecx, [0xa2d758]
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xb4], eax
add esp, 0x94
ret
lea eax, [0xdc5d80]
mov dword [esp], eax
call fcn.00473890
mov eax, dword [esp + 4]
lea ecx, [0x8c6420]
cmp eax, ecx
jne 0x5df162
mov eax, dword [esp + 8]
mov ecx, dword [eax]
mov ebx, dword [eax + 4]
mov ebp, dword [eax + 8]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebp
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
lea ecx, [0x5df1a0]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], eax
lea eax, [esp + 0x60]
mov dword [esp + 0x74], eax
lea eax, [esp + 0x6c]
mov dword [esp + 0x90], eax
mov byte [esp + 0x3b], 1
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0xa0]
xor ebx, ebx
jmp 0x5decf2
mov ebp, dword [esp + 0x48]
sub ebp, eax
mov esi, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, eax
sub ecx, eax
mov edi, dword [esp + 0x5c]
lea edx, [edi + ebp]
mov eax, ecx
mov ecx, esi
mov dword [esp + 0x3c], ebx
test eax, eax
je 0x5def50
mov dword [esp + 0x48], ecx
mov dword [esp + 0x44], eax
mov dword [esp + 0x5c], edx
mov eax, dword [esp + 0x98]
mov dword [esp], eax
movzx ecx, byte [esp + 0x9c]
mov byte [esp + 4], cl
call fcn.005de440
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x44]
cmp ecx, eax
jg 0x5ded33
mov eax, ecx
mov dword [esp + 0x40], eax
mov ebx, dword [esp + 0x68]
mov ebp, dword [esp + 0x60]
cmp ebx, 5
jge 0x5ded77
lea eax, [0x8d9fa0]
mov dword [esp], eax
mov dword [esp + 4], 5
mov dword [esp + 8], 0
mov dword [esp + 0xc], ebp
call fcn.0044e590
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov ebx, 5
mov dword [esp + 0x60], ebp
mov dword [esp + 0x64], 5
mov dword [esp + 0x68], ebx
movzx ebx, byte [esp + 0x9c]
mov byte [ebp], bl
mov ebp, dword [esp + 0x98]
movzx esi, word [ebp + 0x28]
test si, si
jne 0x5deda9
mov esi, 0x301
jmp 0x5dedb5
cmp si, 0x304
jne 0x5dedb5
mov esi, 0x303
mov edi, dword [esp + 0x64]
cmp edi, 1
jbe 0x5df156
mov edi, dword [esp + 0x60]
mov edx, esi
shr si, 8
xchg esi, eax
mov byte [edi + 1], al
xchg esi, eax
mov esi, dword [esp + 0x64]
cmp esi, 2
jbe 0x5df14a
mov esi, dword [esp + 0x60]
mov byte [esi + 2], dl
mov esi, dword [esp + 0x64]
cmp esi, 3
jbe 0x5df13e
mov esi, dword [esp + 0x60]
mov edi, eax
sar eax, 8
mov byte [esi + 3], al
mov esi, dword [esp + 0x64]
cmp esi, 4
jbe 0x5df132
mov eax, dword [esp + 0x60]
xchg edi, ebx
mov byte [eax + 4], bl
xchg edi, ebx
mov edx, dword [esp + 0x48]
cmp edi, edx
ja 0x5df12b
mov eax, dword [ebp + 0x2c]
mov esi, dword [eax]
test esi, esi
je 0x5dee30
mov eax, dword [eax + 4]
jmp 0x5dee3c
mov esi, dword [0xde97c8]
mov eax, dword [0xde97cc]
mov dword [esp + 0x4c], eax
lea ecx, [ebp + 0x128]
mov ebx, dword [esp + 0x60]
mov ebp, dword [esp + 0x64]
mov eax, dword [esp + 0x68]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], esi
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x20], ecx
call fcn.005da300
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x34]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], edx
test ebx, ebx
jne 0x5def20
mov ebx, dword [esp + 0x98]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
call fcn.005de690
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x5deee8
mov ebx, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
add ebx, eax
mov ecx, dword [esp + 0x44]
cmp eax, ecx
jbe 0x5decd2
jmp 0x5df126
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], ecx
mov byte [esp + 0x3b], 0
mov edx, dword [esp + 0x90]
mov eax, dword [edx]
call eax
add esp, 0x94
ret
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], ebp
mov dword [esp + 0xb4], esi
mov byte [esp + 0x3b], 0
mov edx, dword [esp + 0x90]
mov eax, dword [edx]
call eax
add esp, 0x94
ret
movzx eax, byte [esp + 0x9c]
cmp al, 0x14
jne 0x5df0d6
mov eax, dword [esp + 0x98]
cmp word [eax + 0x28], 0x304
je 0x5df0d6
mov ecx, dword [eax + 0x164]
test ecx, ecx
je 0x5df06c
cmp word [eax + 0x138], 0x304
je 0x5df06c
mov edx, dword [eax + 0x168]
mov dword [eax + 0x13c], ecx
mov ecx, dword [0xe12160]
test ecx, ecx
je 0x5defb7
call fcn.00469690
mov dword [edi], edx
mov ecx, dword [eax + 0x140]
mov dword [edi + 4], ecx
mov dword [eax + 0x140], edx
mov ecx, dword [eax + 0x16c]
mov edx, dword [eax + 0x170]
mov dword [eax + 0x144], ecx
mov ecx, dword [0xe12160]
test ecx, ecx
je 0x5defe9
call fcn.00469690
mov dword [edi], edx
mov ecx, dword [eax + 0x148]
mov dword [edi + 4], ecx
mov dword [eax + 0x148], edx
mov dword [eax + 0x164], 0
mov ecx, dword [0xe12160]
test ecx, ecx
je 0x5df010
mov ecx, dword [eax + 0x168]
call fcn.00469680
mov dword [edi], ecx
mov dword [eax + 0x168], 0
mov dword [eax + 0x16c], 0
mov ecx, dword [0xe12160]
test ecx, ecx
je 0x5df03b
mov ecx, dword [eax + 0x170]
call fcn.00469680
mov dword [edi], ecx
mov dword [eax + 0x170], 0
lea ecx, [eax + 0x14c]
mov dword [esp], ecx
mov dword [esp + 4], 8
call fcn.00469e50
mov eax, dword [esp + 0x98]
mov ebx, dword [esp + 0x3c]
xor edx, edx
xor ecx, ecx
jmp 0x5df081
mov ecx, 0x50
lea ebp, [0xcdd420]
lea ecx, [ebp + ecx*8]
lea edx, [0xa2d7bc]
test edx, edx
je 0x5df0d6
lea ebp, [0xa2d7bc]
cmp edx, ebp
jne 0x5df10a
movzx ecx, byte [ecx]
mov dword [esp], eax
mov byte [esp + 4], cl
call fcn.005de030
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0xac], edx
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], ecx
mov byte [esp + 0x3b], 0
mov edx, dword [esp + 0x90]
mov eax, dword [edx]
call eax
add esp, 0x94
ret
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
mov byte [esp + 0x3b], 0
mov edx, dword [esp + 0x90]
mov eax, dword [edx]
call eax
add esp, 0x94
ret
mov eax, dword [0xa2d7c0]
mov dword [esp], edx
mov dword [esp + 4], eax
lea eax, [0x8edb00]
mov dword [esp + 8], eax
call fcn.00409890
call fcn.00469750
mov ecx, edi
call fcn.00469730
mov eax, 4
mov ecx, esi
call fcn.004696f0
mov eax, 3
mov ecx, esi
call fcn.004696f0
mov eax, 2
mov ecx, esi
call fcn.004696f0
mov eax, 1
mov ecx, edi
call fcn.004696f0
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x8dbda0]
mov dword [esp + 8], eax
call fcn.00409800
mov ecx, ebx
call fcn.004696f0
nop
call fcn.00438180
add esp, 0x94
ret
call fcn.00468280
jmp fcn.005de940