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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4df566
sub esp, 0x64
mov eax, dword [esp + 0x84]
test eax, eax
je 0x4dee20
nop
lea eax, [0x4fd2a0]
mov dword [esp], eax
call fcn.0040b480
mov edi, dword [esp + 4]
mov eax, dword [0x605b20]
test eax, eax
jne 0x4dec1d
mov ebx, dword [esp + 0x68]
mov dword [edi], ebx
jmp 0x4dec28
mov eax, dword [esp + 0x68]
call fcn.0045d600
mov ebx, eax
mov dword [esp + 0x38], edi
mov ebp, dword [esp + 0x7c]
test ebp, ebp
jne 0x4dec68
mov esi, dword [esp + 0x74]
test esi, esi
jne 0x4dec42
xor ecx, ecx
xor eax, eax
jmp 0x4dec8f
mov eax, dword [esi + 0x14]
mov ecx, dword [esp + 0x78]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov ebx, dword [esp + 0x68]
mov ebp, dword [esp + 0x7c]
mov esi, dword [esp + 0x74]
mov edi, dword [esp + 0x38]
jmp 0x4dec8f
mov eax, dword [ebp + 0x14]
mov ecx, dword [esp + 0x80]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov ebx, dword [esp + 0x68]
mov ebp, dword [esp + 0x7c]
mov esi, dword [esp + 0x74]
mov edi, dword [esp + 0x38]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x54], eax
mov edx, ebp
mov ebp, dword [ebx + 0x140]
mov esi, dword [ebx + 0x144]
cmp esi, 4
jne 0x4decb5
cmp dword [ebp], 0x78696e75
je 0x4ded06
jmp 0x4ded2b
cmp esi, 8
jne 0x4decce
cmp dword [ebp], 0x78696e75
jne 0x4ded2b
cmp dword [ebp + 4], 0x6d617267
je 0x4ded06
jmp 0x4ded2b
cmp esi, 0xa
jne 0x4ded2b
mov dword [esp], ebp
lea eax, [0x511397]
mov dword [esp + 4], eax
mov dword [esp + 8], esi
call fcn.004027e0
movzx eax, byte [esp + 0xc]
test al, al
je 0x4ded17
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x7c]
mov ebx, dword [esp + 0x68]
mov edi, dword [esp + 0x38]
mov ebp, dword [ebx + 0x140]
mov esi, dword [ebx + 0x144]
jmp 0x4dede4
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x7c]
mov ebx, dword [esp + 0x68]
mov edi, dword [esp + 0x38]
mov ebp, dword [ebx + 0x144]
mov esi, dword [ebx + 0x140]
lea edi, [ebp - 1]
cmp ebp, edi
jbe 0x4df55c
movzx edi, byte [ebp + esi - 1]
xchg edi, eax
cmp al, 0x34
xchg edi, eax
je 0x4ded55
xchg edi, eax
cmp al, 0x36
xchg edi, eax
jne 0x4ded65
mov edi, dword [esp + 0x38]
mov edi, esi
mov esi, ebp
mov ebp, edi
mov edi, dword [esp + 0x38]
jmp 0x4dede4
cmp dword [ebx + 0x134], 2
jne 0x4dedaa
mov dword [esp], 0
mov dword [esp + 4], esi
mov dword [esp + 8], ebp
lea eax, [0x53a386]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
call fcn.0044a020
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x30]
mov edi, dword [esp + 0x38]
jmp 0x4dede4
mov dword [esp], 0
mov dword [esp + 4], esi
mov dword [esp + 8], ebp
lea eax, [0x53a387]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
call fcn.0044a020
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x30]
mov edi, dword [esp + 0x38]
mov edx, dword [esp + 0x84]
mov ebx, dword [edx]
mov dword [esp], ebp
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
lea eax, [0x53d498]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edi
call ebx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
test eax, eax
jne 0x4df54a
mov eax, dword [esp + 0x74]
test eax, eax
jne 0x4dee2e
xor ebp, ebp
xor esi, esi
jmp 0x4deea7
mov eax, dword [eax + 0x20]
mov ecx, dword [esp + 0x68]
mov edx, dword [ecx + 0x134]
mov ebx, dword [esp + 0x78]
mov dword [esp], ebx
mov dword [esp + 4], edx
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 8]
mov ebp, dword [esp + 8]
mov esi, dword [esp + 0xc]
test eax, eax
jne 0x4df538
test ebp, ebp
je 0x4deea7
mov dword [esp + 0x40], esi
mov dword [esp + 0x2c], ebp
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 0x10]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], esi
call fcn.00482760
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
test eax, eax
jne 0x4df4cd
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x4def6d
mov dword [esp + 0x40], esi
mov dword [esp + 0x2c], ebp
mov ecx, dword [eax + 0x20]
mov edx, dword [esp + 0x68]
mov ebx, dword [edx + 0x134]
mov ebp, dword [esp + 0x80]
mov dword [esp], ebp
mov dword [esp + 4], ebx
call ecx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 8]
mov ebp, dword [esp + 0xc]
test eax, eax
jne 0x4def5b
mov eax, dword [esp + 0x68]
mov dword [esp], eax
mov ecx, dword [esp + 0x6c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebp
call fcn.004d4d60
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
test eax, eax
jne 0x4def49
mov eax, dword [esp + 0x68]
mov byte [eax + 0x13c], 1
jmp 0x4def95
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], edx
add esp, 0x64
ret
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], edx
add esp, 0x64
ret
mov eax, dword [esp + 0x68]
mov dword [esp], eax
call fcn.004d4c50
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
test eax, eax
jne 0x4df4bb
mov eax, dword [esp + 0x68]
xor ebx, ebx
xor ebp, ebp
mov dword [esp + 0x34], ebx
mov dword [esp + 0x58], ebp
mov ecx, dword [eax + 0x10]
mov dword [esp], ecx
call fcn.00482840
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x34]
test edx, edx
je 0x4df16e
mov ebx, dword [esp + 0x68]
mov ebp, dword [ebx + 0x134]
cmp ebp, 1
jne 0x4deff8
mov ebp, dword [ebx + 0x138]
cmp ebp, 1
jne 0x4defde
lea ebp, [0x51b5b0]
jmp 0x4df035
cmp ebp, 2
jne 0x4defeb
lea ebp, [0x51b5a8]
jmp 0x4df035
cmp ebp, 5
jne 0x4df02f
lea ebp, [0x51b5ac]
jmp 0x4df035
cmp ebp, 2
je 0x4df002
cmp ebp, 0x17
jne 0x4df02f
mov ebp, dword [ebx + 0x138]
cmp ebp, 1
jne 0x4df015
lea ebp, [0x51b5a0]
jmp 0x4df035
cmp ebp, 2
jne 0x4df022
lea ebp, [0x51b5a4]
jmp 0x4df035
cmp ebp, 3
jne 0x4df02f
lea ebp, [0x51b59c]
jmp 0x4df035
lea ebp, [0x51b558]
mov ebx, dword [ebp]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov edx, ebp
call ebx
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 0x134]
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x44], ebx
mov ebp, dword [esp + 8]
mov dword [esp + 0x60], ebp
cmp ecx, 1
jne 0x4df08f
mov ecx, dword [eax + 0x138]
cmp ecx, 1
jne 0x4df075
lea ecx, [0x51b5b0]
jmp 0x4df0cc
cmp ecx, 2
jne 0x4df082
lea ecx, [0x51b5a8]
jmp 0x4df0cc
cmp ecx, 5
jne 0x4df0c6
lea ecx, [0x51b5ac]
jmp 0x4df0cc
cmp ecx, 2
je 0x4df099
cmp ecx, 0x17
jne 0x4df0c6
mov ecx, dword [eax + 0x138]
cmp ecx, 1
jne 0x4df0ac
lea ecx, [0x51b5a0]
jmp 0x4df0cc
cmp ecx, 2
jne 0x4df0b9
lea ecx, [0x51b5a4]
jmp 0x4df0cc
cmp ecx, 3
jne 0x4df0c6
lea ecx, [0x51b59c]
jmp 0x4df0cc
lea ecx, [0x51b55c]
mov eax, dword [ecx]
mov ebx, dword [esp + 0x34]
mov dword [esp], ebx
mov ebx, dword [esp + 0x58]
mov dword [esp + 4], ebx
mov edx, ecx
call eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov ebx, dword [esp + 0x60]
mov ebp, dword [esp + 0x68]
mov dword [ebp + 0x148], ebx
mov ebx, dword [0x605b20]
test ebx, ebx
jne 0x4df10d
mov edx, dword [esp + 0x44]
mov dword [ebp + 0x14c], edx
jmp 0x4df120
lea edi, [ebp + 0x14c]
mov edx, eax
mov eax, dword [esp + 0x44]
call fcn.0045d600
mov eax, edx
mov dword [ebp + 0x150], ecx
mov ecx, dword [0x605b20]
test ecx, ecx
jne 0x4df138
mov dword [ebp + 0x154], eax
jmp 0x4df143
lea edi, [ebp + 0x154]
call fcn.0045d600
lea eax, [0x50bf60]
mov dword [esp], eax
mov dword [esp + 4], ebp
lea eax, [0x4f8000]
mov dword [esp + 8], eax
lea eax, [0x51b54c]
mov dword [esp + 0xc], eax
call fcn.00415410
jmp 0x4df4a1
mov dword [esp + 0x40], ecx
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 0x10]
mov dword [esp], ecx
call fcn.00482920
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
test eax, eax
je 0x4df35a
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x3c], edx
mov eax, dword [esp + 0x68]
mov ebx, dword [eax + 0x134]
cmp ebx, 1
jne 0x4df1dd
mov ebx, dword [eax + 0x138]
cmp ebx, 1
jne 0x4df1c3
lea ebx, [0x51b5b0]
jmp 0x4df21a
cmp ebx, 2
jne 0x4df1d0
lea ebx, [0x51b5a8]
jmp 0x4df21a
cmp ebx, 5
jne 0x4df214
lea ebx, [0x51b5ac]
jmp 0x4df21a
cmp ebx, 2
je 0x4df1e7
cmp ebx, 0x17
jne 0x4df214
mov ebx, dword [eax + 0x138]
cmp ebx, 1
jne 0x4df1fa
lea ebx, [0x51b5a0]
jmp 0x4df21a
cmp ebx, 2
jne 0x4df207
lea ebx, [0x51b5a4]
jmp 0x4df21a
cmp ebx, 3
jne 0x4df214
lea ebx, [0x51b59c]
jmp 0x4df21a
lea ebx, [0x51b560]
mov eax, dword [ebx]
mov ecx, dword [esp + 0x60]
mov dword [esp], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 4], ecx
mov edx, ebx
call eax
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 0x134]
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x48], ebx
mov ebp, dword [esp + 8]
mov dword [esp + 0x60], ebp
cmp ecx, 1
jne 0x4df27b
mov ecx, dword [eax + 0x138]
cmp ecx, 1
jne 0x4df261
lea ecx, [0x51b5b0]
jmp 0x4df2b8
cmp ecx, 2
jne 0x4df26e
lea ecx, [0x51b5a8]
jmp 0x4df2b8
cmp ecx, 5
jne 0x4df2b2
lea ecx, [0x51b5ac]
jmp 0x4df2b8
cmp ecx, 2
je 0x4df285
cmp ecx, 0x17
jne 0x4df2b2
mov ecx, dword [eax + 0x138]
cmp ecx, 1
jne 0x4df298
lea ecx, [0x51b5a0]
jmp 0x4df2b8
cmp ecx, 2
jne 0x4df2a5
lea ecx, [0x51b5a4]
jmp 0x4df2b8
cmp ecx, 3
jne 0x4df2b2
lea ecx, [0x51b59c]
jmp 0x4df2b8
lea ecx, [0x51b564]
mov eax, dword [ecx]
mov ebx, dword [esp + 0x5c]
mov dword [esp], ebx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 4], ebx
mov edx, ecx
call eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov ebx, dword [esp + 0x60]
mov ebp, dword [esp + 0x68]
mov dword [ebp + 0x148], ebx
mov ebx, dword [0x605b20]
test ebx, ebx
jne 0x4df2f9
mov edx, dword [esp + 0x48]
mov dword [ebp + 0x14c], edx
jmp 0x4df30c
lea edi, [ebp + 0x14c]
mov edx, eax
mov eax, dword [esp + 0x48]
call fcn.0045d600
mov eax, edx
mov dword [ebp + 0x150], ecx
mov ecx, dword [0x605b20]
test ecx, ecx
jne 0x4df324
mov dword [ebp + 0x154], eax
jmp 0x4df32f
lea edi, [ebp + 0x154]
call fcn.0045d600
lea eax, [0x50bf60]
mov dword [esp], eax
mov dword [esp + 4], ebp
lea eax, [0x4f8000]
mov dword [esp + 8], eax
lea eax, [0x51b54c]
mov dword [esp + 0xc], eax
call fcn.00415410
jmp 0x4df4a1
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 0x134]
cmp ecx, 1
jne 0x4df396
mov ecx, dword [eax + 0x138]
cmp ecx, 1
jne 0x4df37c
lea ecx, [0x51b5b0]
jmp 0x4df3d3
cmp ecx, 2
jne 0x4df389
lea ecx, [0x51b5a8]
jmp 0x4df3d3
cmp ecx, 5
jne 0x4df3cd
lea ecx, [0x51b5ac]
jmp 0x4df3d3
cmp ecx, 2
je 0x4df3a0
cmp ecx, 0x17
jne 0x4df3cd
mov ecx, dword [eax + 0x138]
cmp ecx, 1
jne 0x4df3b3
lea ecx, [0x51b5a0]
jmp 0x4df3d3
cmp ecx, 2
jne 0x4df3c0
lea ecx, [0x51b5a4]
jmp 0x4df3d3
cmp ecx, 3
jne 0x4df3cd
lea ecx, [0x51b59c]
jmp 0x4df3d3
lea ecx, [0x51b568]
mov eax, dword [ecx]
mov ebx, dword [esp + 0x60]
mov dword [esp], ebx
mov ebx, dword [esp + 0x40]
mov dword [esp + 4], ebx
mov edx, ecx
call eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x60], ecx
lea ebx, [0x4fd780]
mov dword [esp], ebx
mov ebx, dword [esp + 0x7c]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x80]
mov dword [esp + 8], ebx
call fcn.00408fd0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov ebx, dword [esp + 0x60]
mov ebp, dword [esp + 0x68]
mov dword [ebp + 0x148], ebx
mov ebx, dword [0x605b20]
test ebx, ebx
jne 0x4df445
mov edx, dword [esp + 0x4c]
mov dword [ebp + 0x14c], edx
jmp 0x4df458
lea edi, [ebp + 0x14c]
mov edx, eax
mov eax, dword [esp + 0x4c]
call fcn.0045d600
mov eax, edx
mov dword [ebp + 0x150], ecx
mov ecx, dword [0x605b20]
test ecx, ecx
jne 0x4df470
mov dword [ebp + 0x154], eax
jmp 0x4df47b
lea edi, [ebp + 0x154]
call fcn.0045d600
lea eax, [0x50bf60]
mov dword [esp], eax
mov dword [esp + 4], ebp
lea eax, [0x4f8000]
mov dword [esp + 8], eax
lea eax, [0x51b54c]
mov dword [esp + 0xc], eax
call fcn.00415410
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
add esp, 0x64
ret
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], edx
add esp, 0x64
ret
mov dword [esp + 0x50], ecx
mov dword [esp + 0x60], edx
lea eax, [0x4feec0]
mov dword [esp], eax
call fcn.0040b480
mov eax, dword [esp + 4]
mov dword [eax + 4], 4
lea ecx, [0x510147]
mov dword [eax], ecx
mov ecx, dword [esp + 0x60]
mov dword [eax + 8], ecx
mov ecx, dword [0x605b20]
test ecx, ecx
jne 0x4df510
mov ecx, dword [esp + 0x50]
mov dword [eax + 0xc], ecx
jmp 0x4df520
lea edi, [eax + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x50]
call fcn.0045d600
mov eax, ecx
lea ecx, [0x53ba58]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x64
ret
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], edx
add esp, 0x64
ret
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], ebx
add esp, 0x64
ret
mov eax, edi
mov ecx, ebp
call fcn.0045d680
nop
call fcn.0045c1c0
jmp fcn.004debd0