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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0xc0]
cmp eax, dword [ecx + 8]
jbe 0x4dc13a
sub esp, 0x140
mov byte [esp + 0x130], 0
mov dword [esp + 0x134], 0
mov dword [esp + 0x138], 0
mov dword [esp + 0x13c], 0
nop
mov eax, dword [esp + 0x150]
lea ecx, [esp + 0x130]
cmp eax, ecx
je 0x4db556
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
test ecx, ecx
jg 0x4dc098
mov ebx, ecx
xor ebp, ebp
xor esi, esi
cmp ebx, ecx
jge 0x4dc091
mov dword [esp + 0x54], esi
mov dword [esp + 0x40], ecx
mov dword [esp + 0x98], ebp
cmp edx, ebp
je 0x4db521
mov dword [esp], ebp
mov dword [esp + 4], edx
shl ebx, 2
mov dword [esp + 8], ebx
call fcn.0045eba0
mov eax, dword [esp + 0x40]
mov dword [esp + 0x138], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x13c], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x134], eax
mov eax, dword [esp + 0x150]
movzx ecx, byte [eax]
mov byte [esp + 0x130], cl
mov byte [esp + 0x130], 0
mov byte [esp + 0x120], 0
mov dword [esp + 0x124], 0
mov dword [esp + 0x128], 0
mov dword [esp + 0x12c], 0
nop
mov ecx, dword [esp + 0x154]
lea edx, [esp + 0x120]
cmp ecx, edx
je 0x4dc08a
mov edx, dword [ecx + 8]
mov ebx, dword [ecx + 4]
test edx, edx
jg 0x4dbfeb
mov ebp, edx
xor esi, esi
xor edi, edi
cmp edx, ebp
jle 0x4dbfe4
mov dword [esp + 0x34], edx
mov dword [esp + 0x90], esi
mov dword [esp + 0x4c], edi
cmp esi, ebx
je 0x4db5e0
mov dword [esp], esi
mov dword [esp + 4], ebx
shl ebp, 2
mov dword [esp + 8], ebp
call fcn.0045eba0
mov eax, dword [esp + 0x34]
mov dword [esp + 0x128], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x12c], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x124], eax
mov eax, dword [esp + 0x154]
movzx ecx, byte [eax]
mov byte [esp + 0x120], cl
mov byte [esp + 0x120], 0
mov ecx, dword [esp + 0x148]
test ecx, ecx
je 0x4dbfd3
mov edx, 1
mov byte [esp + 0x2d], dl
test dl, dl
jne 0x4dbf52
xor ebx, ebx
xor ebp, ebp
mov dword [esp + 0xac], ebp
mov dword [esp + 0xbc], ebx
mov byte [esp + 0xf0], 0
mov dword [esp + 0xf4], 0
mov dword [esp + 0xf8], 0
mov dword [esp + 0xfc], 0
mov byte [esp + 0xe0], 0
mov dword [esp + 0xe4], 0
mov dword [esp + 0xe8], 0
mov dword [esp + 0xec], 0
mov byte [esp + 0xd0], 0
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd8], 0
mov dword [esp + 0xdc], 0
mov byte [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0
mov eax, dword [esp + 0x134]
mov ecx, dword [esp + 0x138]
mov edx, dword [esp + 0x13c]
mov esi, dword [esp + 0x124]
mov edi, dword [esp + 0x128]
mov ebx, dword [esp + 0x12c]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], ebx
call fcn.004de190
mov eax, dword [esp + 0x18]
test eax, eax
jge 0x4dbf31
lea eax, [esp + 0x130]
mov ecx, dword [esp + 0xac]
mov edx, dword [esp + 0xbc]
lea ebx, [esp + 0x120]
mov dword [esp + 0xb0], edx
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xac], ecx
mov dword [esp + 0x9c], eax
jmp 0x4db79b
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0xac]
mov edx, dword [esp + 0xb0]
mov ebx, dword [esp + 0xb8]
mov ebp, dword [eax + 8]
cmp ebp, 1
jle 0x4db93b
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.004daba0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x14]
movzx ebp, byte [esp + 0x18]
test eax, eax
je 0x4db8ca
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x78], edx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x68], ebx
xchg ebp, eax
mov byte [esp + 0x2f], al
xchg ebp, eax
mov esi, dword [esp + 0xb8]
mov dword [esp], esi
mov edi, dword [esp + 0x9c]
mov dword [esp + 4], edi
lea esi, [esp + 0xf0]
mov dword [esp + 8], esi
lea esi, [esp + 0xe0]
mov dword [esp + 0xc], esi
lea esi, [esp + 0xd0]
mov dword [esp + 0x10], esi
lea esi, [esp + 0xc0]
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ebx
xchg ebp, eax
mov byte [esp + 0x28], al
xchg ebp, eax
call fcn.004dadb0
movzx eax, byte [esp + 0x2d]
test al, al
je 0x4db77f
mov eax, dword [esp + 0xb0]
mov dword [esp], eax
mov ecx, dword [esp + 0xac]
mov dword [esp + 4], ecx
lea edx, [esp + 0xf0]
mov dword [esp + 8], edx
lea ebx, [esp + 0xe0]
mov dword [esp + 0xc], ebx
lea ebp, [esp + 0xd0]
mov dword [esp + 0x10], ebp
lea esi, [esp + 0xc0]
mov dword [esp + 0x14], esi
mov edi, dword [esp + 0x7c]
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x78]
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0x6c]
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x68]
mov dword [esp + 0x24], edi
movzx edi, byte [esp + 0x2f]
xchg edi, eax
mov byte [esp + 0x28], al
xchg edi, eax
call fcn.004dadb0
movzx eax, byte [esp + 0x2d]
jmp 0x4db77f
mov eax, dword [esp + 0xb8]
mov dword [esp], eax
mov ecx, dword [esp + 0x9c]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0xb0]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0xac]
mov dword [esp + 0xc], ebx
lea ebp, [esp + 0xf0]
mov dword [esp + 0x10], ebp
lea esi, [esp + 0xe0]
mov dword [esp + 0x14], esi
lea edi, [esp + 0xd0]
mov dword [esp + 0x18], edi
lea edi, [esp + 0xc0]
mov dword [esp + 0x1c], edi
movzx edi, byte [esp + 0x2d]
xchg edi, eax
mov byte [esp + 0x20], al
xchg edi, eax
call fcn.004db0a0
movzx eax, byte [esp + 0x2d]
jmp 0x4db77f
test ebp, ebp
jle 0x4dbf2a
cmp dword [ebx + 8], 1
jg 0x4dbebe
mov ebp, dword [eax + 8]
mov esi, dword [eax + 4]
test ebp, ebp
jle 0x4dbeb7
mov ebp, dword [ebx + 8]
mov edi, edx
mov edx, dword [ebx + 4]
test ebp, ebp
jbe 0x4dc130
mov edx, dword [edx]
mov ebp, dword [esi]
movzx esi, byte [esp + 0x2d]
xchg esi, eax
test al, al
xchg esi, eax
je 0x4dbeac
mov esi, 1
xor esi, esi
mov dword [esp + 0x70], esi
mov esi, 1
mov dword [esp + 0x60], esi
xor esi, esi
mov dword [esp + 0x64], esi
mov esi, 1
xchg esi, eax
mov byte [esp + 0x2e], al
xchg esi, eax
mov esi, 1
jmp 0x4dba2f
mov eax, edx
xor edx, edx
div ebp
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x84]
xor edx, edx
div ebp
mov eax, edx
mov edx, dword [esp + 0x70]
mov ebx, dword [esp + 0x80]
imul edx, ebx
add edx, esi
mov esi, edx
mov edx, dword [esp + 0x60]
imul ebx, edx
mov edx, dword [esp + 0x64]
add edx, ebx
mov ebx, edx
movzx edx, byte [esp + 0x2e]
xor edx, 1
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x64], eax
mov byte [esp + 0x2e], dl
mov eax, dword [esp + 0x9c]
mov edx, ebp
mov dword [esp + 0x60], ebx
mov ebx, dword [esp + 0xb8]
mov ebp, dword [esp + 0x88]
mov ebp, esi
mov esi, dword [esp + 0x70]
mov dword [esp + 0x70], ebp
mov ebp, dword [esp + 0x88]
mov dword [esp + 0x84], edx
test ebp, ebp
jne 0x4db9ad
mov ebp, dword [esp + 0xcc]
mov eax, dword [esp + 0xc4]
test esi, esi
jne 0x4dbe3e
xor esi, esi
mov dword [esp + 0xc8], esi
mov dword [esp + 0xcc], ebp
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0xdc]
mov ebp, dword [esp + 0xd4]
mov esi, dword [esp + 0x64]
test esi, esi
jne 0x4dbde3
xor esi, esi
mov dword [esp + 0xd8], esi
mov dword [esp + 0xdc], eax
mov dword [esp + 0xd4], ebp
movzx eax, byte [esp + 0x2e]
mov ecx, eax
xor eax, 1
mov byte [esp + 0xc0], al
mov byte [esp + 0xd0], cl
lea eax, [esp + 0xc0]
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], eax
call fcn.004d9c80
lea eax, [esp + 0xd0]
mov dword [esp], eax
mov ecx, dword [esp + 0xac]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004d9c80
mov eax, dword [esp + 0xb0]
mov dword [esp], eax
lea ecx, [esp + 0xc0]
mov dword [esp + 4], ecx
lea ecx, [esp + 0xd0]
mov dword [esp + 8], ecx
call fcn.004d9800
mov eax, dword [esp + 0x84]
mov edx, dword [esp + 0xb8]
mov ecx, dword [edx + 8]
mov ebx, dword [edx + 4]
test ecx, ecx
jbe 0x4dc129
mov dword [ebx], eax
mov ecx, dword [esp + 0x150]
movzx ebx, byte [ecx]
mov byte [esp + 0x2c], bl
mov ebp, dword [esp + 0x14c]
test ebp, ebp
je 0x4dbdd5
mov esi, dword [esp + 0x154]
cmp ebp, esi
jne 0x4dbdce
nop
mov eax, edx
mov edx, dword [esp + 0x9c]
cmp esi, edx
je 0x4dbbef
mov edi, ebx
mov ebx, dword [edx + 0xc]
mov ecx, dword [edx + 4]
mov ebp, dword [esi + 8]
mov dword [esp + 0x30], ebp
mov esi, dword [esi + 4]
cmp ebp, ebx
jg 0x4dbd2f
mov dword [esp + 0x50], ebx
mov ebx, dword [esp + 0x30]
cmp ebp, ebx
jle 0x4dbd28
mov dword [esp + 0x38], ebp
mov dword [esp + 0x94], ecx
cmp ecx, esi
je 0x4dbbb6
mov dword [esp], ecx
mov dword [esp + 4], esi
shl ebx, 2
mov dword [esp + 8], ebx
call fcn.0045eba0
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x9c]
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0x50]
mov dword [edx + 0xc], ecx
mov ecx, dword [0x71e9f0]
test ecx, ecx
jne 0x4dbd14
mov eax, dword [esp + 0x94]
mov dword [edx + 4], eax
mov eax, dword [esp + 0x154]
movzx eax, byte [eax]
mov byte [edx], al
mov dword [esp + 0xb4], edx
mov eax, dword [esp + 0x14c]
mov dword [esp], eax
mov ecx, dword [esp + 0x150]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0xb0]
mov dword [esp + 8], ecx
call fcn.004d9c80
movzx eax, byte [esp + 0x2c]
test al, al
je 0x4dbd08
mov ecx, dword [esp + 0x14c]
movzx edx, byte [ecx]
xor edx, 1
mov byte [ecx], dl
mov dword [esp], ecx
mov eax, dword [esp + 0xb8]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.004d9a40
mov eax, dword [esp + 0x14c]
mov dword [esp], eax
mov dword [esp + 4], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 8], eax
call fcn.004d9f40
mov eax, dword [esp + 0x148]
test eax, eax
je 0x4dbcb0
mov ecx, dword [esp + 0xb0]
mov edx, dword [ecx + 4]
movzx ebx, byte [ecx]
mov ebp, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov byte [eax], bl
mov dword [eax + 8], ebp
mov dword [eax + 0xc], ecx
mov ecx, dword [0x71e9f0]
test ecx, ecx
jne 0x4dbcf8
mov dword [eax + 4], edx
movzx ecx, byte [esp + 0x2c]
test cl, cl
je 0x4dbcb0
movzx ecx, byte [eax]
xor ecx, 1
mov byte [eax], cl
mov ecx, dword [esp + 0xb8]
mov eax, dword [ecx + 4]
movzx edx, byte [ecx]
mov ebx, dword [ecx + 0xc]
mov ecx, dword [ecx + 8]
mov ebp, dword [esp + 0x144]
mov byte [ebp], dl
mov dword [ebp + 8], ecx
mov dword [ebp + 0xc], ebx
mov ecx, dword [0x71e9f0]
test ecx, ecx
jne 0x4dbcee
mov dword [ebp + 4], eax
mov dword [esp + 0x158], ebp
add esp, 0x140
ret
lea edi, [ebp + 4]
call fcn.0045e220
jmp 0x4dbce0
lea edi, [eax + 4]
mov ecx, eax
mov eax, edx
call fcn.0045e220
mov eax, ecx
jmp 0x4dbc9f
mov ecx, dword [esp + 0x14c]
jmp 0x4dbc37
lea edi, [edx + 4]
mov eax, dword [esp + 0x94]
call fcn.0045e220
jmp 0x4dbbe3
mov ebx, ebp
jmp 0x4dbb94
mov dword [esp + 0xa0], esi
cmp ebp, 1
jne 0x4dbd86
lea eax, [0x5a56a0]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.004451f0
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0xb8]
mov edx, dword [esp + 0x9c]
mov esi, dword [esp + 0xa0]
movzx edi, byte [esp + 0x2c]
mov ebp, 1
mov ebx, 1
jmp 0x4dbb84
lea eax, [0x5a56a0]
mov dword [esp], eax
mov dword [esp + 4], ebp
lea eax, [ebp + 4]
mov dword [esp + 0x58], eax
mov dword [esp + 8], eax
call fcn.004451f0
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0xb8]
mov edx, dword [esp + 0x9c]
mov esi, dword [esp + 0xa0]
movzx edi, byte [esp + 0x2c]
mov ebp, dword [esp + 0x30]
mov ebx, dword [esp + 0x58]
jmp 0x4dbb84
mov edx, esi
jmp 0x4dbbef
mov eax, dword [esp + 0x148]
test eax, eax
jmp 0x4dbc75
cmp eax, 1
jl 0x4dbdf5
mov dword [ebp], esi
mov esi, 1
jmp 0x4dba87
lea eax, [0x5a56a0]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.004451f0
mov ebp, dword [esp + 0xc]
mov ecx, dword [esp + 0xac]
mov edx, dword [esp + 0x84]
mov ebx, dword [esp + 0xb8]
mov esi, dword [esp + 0x64]
mov edi, dword [esp + 0xb0]
mov eax, 1
jmp 0x4dbde8
cmp ebp, 1
jl 0x4dbe4f
mov dword [eax], esi
mov esi, 1
jmp 0x4dba56
mov dword [esp + 0x74], esi
lea eax, [0x5a56a0]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.004451f0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xac]
mov edx, dword [esp + 0x84]
mov ebx, dword [esp + 0xb8]
mov esi, dword [esp + 0x74]
mov edi, dword [esp + 0xb0]
mov ebp, 1
jmp 0x4dbe43
mov ecx, eax
mov eax, edx
xor edx, edx
div ebp
mov eax, ecx
mov esi, ebp
mov ebp, edx
mov edx, esi
test ebp, ebp
jne 0x4dbe9c
mov eax, edx
jmp 0x4dbb15
mov edx, ebx
jmp 0x4dbb2c
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
lea ebp, [esp + 0xf0]
mov dword [esp + 0x10], ebp
lea ebp, [esp + 0xe0]
mov dword [esp + 0x14], ebp
lea ebp, [esp + 0xd0]
mov dword [esp + 0x18], ebp
lea esi, [esp + 0xc0]
mov dword [esp + 0x1c], esi
movzx edi, byte [esp + 0x2d]
xchg edi, eax
mov byte [esp + 0x20], al
xchg edi, eax
call fcn.004db0a0
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0xac]
mov edx, dword [esp + 0xb0]
mov ebx, dword [esp + 0xb8]
jmp 0x4db94d
mov edx, ebx
jmp 0x4dbb2c
lea eax, [esp + 0x120]
mov ecx, dword [esp + 0xbc]
mov edx, dword [esp + 0xac]
lea ebx, [esp + 0x130]
jmp 0x4db761
mov byte [esp + 0x110], 0
mov dword [esp + 0x114], 0
mov dword [esp + 0x118], 0
mov dword [esp + 0x11c], 0
lea eax, [esp + 0x110]
mov dword [esp], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 1
call fcn.004d9750
mov ebp, dword [esp + 0xc]
mov byte [esp + 0x100], 0
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], 0
mov dword [esp + 0x10c], 0
lea ebx, [esp + 0x100]
jmp 0x4db641
mov ebx, dword [esp + 0x14c]
test ebx, ebx
setne dl
jmp 0x4db631
mov ebp, edx
jmp 0x4db5ba
mov dword [esp + 0x44], edx
mov dword [esp + 0xa4], ebx
cmp edx, 1
jne 0x4dc045
lea eax, [0x5a56a0]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.004451f0
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x150]
mov ecx, dword [esp + 0x154]
mov ebx, dword [esp + 0xa4]
mov ebp, dword [esp + 0x44]
mov edx, 1
mov edi, 1
jmp 0x4db5b2
lea eax, [0x5a56a0]
mov dword [esp], eax
mov dword [esp + 4], edx
lea ecx, [edx + 4]
mov dword [esp + 0x48], ecx
mov dword [esp + 8], ecx
call fcn.004451f0
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x150]
mov ecx, dword [esp + 0x154]
mov ebx, dword [esp + 0xa4]
mov ebp, dword [esp + 0x44]
mov edx, ebp
mov edi, dword [esp + 0x48]
jmp 0x4db5b2
mov eax, ecx
jmp 0x4db615
mov ebx, ecx
jmp 0x4db4fb
mov dword [esp + 0xa8], edx
mov dword [esp + 0x3c], ecx
cmp ecx, 1
jne 0x4dc0eb
lea eax, [0x5a56a0]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.004451f0
mov ebp, dword [esp + 0xc]
mov eax, dword [esp + 0x150]
mov edx, dword [esp + 0xa8]
mov ebx, dword [esp + 0x3c]
mov ecx, 1
mov esi, 1
jmp 0x4db4f3
lea eax, [0x5a56a0]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea edx, [ecx + 4]
mov dword [esp + 0x5c], edx
mov dword [esp + 8], edx
call fcn.004451f0
mov ebp, dword [esp + 0xc]
mov eax, dword [esp + 0x150]
mov edx, dword [esp + 0xa8]
mov ebx, dword [esp + 0x3c]
mov ecx, ebx
mov esi, dword [esp + 0x5c]
jmp 0x4db4f3
xor eax, eax
call fcn.0045e2a0
xor eax, eax
mov ecx, ebp
call fcn.0045e2a0
nop
call fcn.0045ccc0
jmp fcn.004db480