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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x8c]
cmp eax, dword [ecx + 8]
jbe 0x4dac18
sub esp, 0x10c
mov eax, 0
mov dword [esp + 0x108], eax
mov byte [esp + 0x1e], 0
mov eax, dword [esp + 0x120]
mov ecx, eax
and eax, 0x1f
mov dword [esp + 0x38], eax
cmp eax, 0x14
ja 0x4da34b
lea edx, [eax - 0x12]
cmp edx, 1
jbe 0x4da371
cmp eax, 0x14
je 0x4da355
jmp 0x4dabd1
cmp eax, 0x16
jbe 0x4da371
cmp eax, 0x17
jne 0x4da368
mov edx, dword [esp + 0x11c]
mov ebx, dword [edx]
test ebx, ebx
setne bl
xor ebx, 1
jmp 0x4da39d
cmp eax, 0x1a
jne 0x4dabd1
test ecx, 0x200
jne 0x4da3cb
test ecx, 0x80
je 0x4da38c
mov edx, dword [esp + 0x11c]
mov ebx, dword [edx]
jmp 0x4da395
mov edx, dword [esp + 0x11c]
mov ebx, edx
test ebx, ebx
setne bl
xor ebx, 1
test bl, bl
je 0x4da3d2
mov eax, dword [esp + 0x114]
test byte [eax], al
mov dword [esp], eax
lea eax, [0x6ce32e]
mov dword [esp + 4], eax
mov dword [esp + 8], 4
call fcn.004ce200
add esp, 0x10c
ret
mov edx, dword [esp + 0x11c]
mov ebx, dword [esp + 0x114]
mov ebp, dword [ebx + 0x54]
inc ebp
mov dword [ebx + 0x54], ebp
cmp ebp, 0x3e8
ja 0x4da3ef
xor ebp, ebp
jmp 0x4da50c
mov eax, dword [esp + 0x118]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.0048b320
mov eax, dword [esp + 0xc]
mov dword [esp + 0x3c], eax
lea ecx, [0x696cc0]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
mov edx, dword [esp + 0x114]
mov ebx, dword [edx + 0x58]
lea ebp, [0x6980c0]
mov dword [esp], ebp
mov dword [esp + 4], ebx
lea ebx, [esp + 0x74]
mov dword [esp + 8], ebx
call fcn.0040c880
movzx eax, byte [esp + 0x10]
test al, al
je 0x4da45d
mov eax, dword [esp + 0x120]
test eax, eax
jne 0x4daa51
jmp 0x4dab9f
lea eax, [0x696cc0]
mov dword [esp + 0x74], eax
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x78], ecx
mov edx, dword [esp + 0x114]
mov ebx, dword [edx + 0x58]
lea ebp, [0x6980c0]
mov dword [esp], ebp
mov dword [esp + 4], ebx
lea ebx, [esp + 0x74]
mov dword [esp + 8], ebx
call fcn.0040cc00
mov eax, dword [esp + 0xc]
test byte [eax], al
mov eax, dword [esp + 0x114]
mov ecx, dword [eax + 0x58]
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
lea edx, [0x4dacb0]
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], ecx
lea ecx, [0x696cc0]
mov dword [esp + 0x84], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x88], ecx
lea ecx, [esp + 0x7c]
mov dword [esp + 0x108], ecx
mov byte [esp + 0x1e], 1
mov ebx, eax
mov ebp, 1
xchg ebp, eax
mov byte [esp + 0x1f], al
xchg ebp, eax
mov dword [esp], ebx
mov byte [esp + 4], 0x7b
call fcn.004ce760
mov eax, dword [esp + 0x38]
cmp eax, 0x17
jne 0x4da534
mov ecx, dword [esp + 0x11c]
mov edx, dword [ecx + 4]
jmp 0x4da55d
mov eax, dword [esp + 0x118]
mov dword [esp], eax
mov ecx, dword [esp + 0x11c]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x120]
mov dword [esp + 8], edx
call fcn.00489480
mov edx, dword [esp + 0xc]
mov dword [esp + 0x20], edx
lea eax, [0x6ae160]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], edx
call fcn.0044b780
mov eax, dword [esp + 0xc]
mov dword [esp + 0x60], eax
nop
mov ecx, dword [esp + 0x38]
cmp ecx, 0x15
je 0x4da59c
mov eax, dword [esp + 0x120]
mov dword [esp], eax
call fcn.00489d90
mov eax, dword [esp + 0x60]
lea edi, [esp + 0xcc]
xor eax, eax
call fcn.00463361
mov ecx, dword [esp + 0x118]
mov dword [esp + 0xcc], ecx
mov edx, dword [esp + 0x11c]
mov dword [esp + 0xd0], edx
mov ebx, dword [esp + 0x120]
mov dword [esp + 0xd4], ebx
xor eax, eax
jmp 0x4da5df
mov ecx, dword [esp + 0x28]
lea eax, [ecx + 1]
mov dword [esp + 0x28], eax
lea ecx, [esp + 0xcc]
mov dword [esp], ecx
call fcn.00489ca0
movzx eax, byte [esp + 4]
test al, al
je 0x4da6f9
lea eax, [esp + 0xcc]
mov dword [esp], eax
call fcn.00489b00
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x20]
cmp ebx, ebp
jae 0x4daa48
shl ebx, 5
mov dword [esp + 0x34], ebx
mov ebp, dword [esp + 0x60]
mov dword [ebp + ebx + 8], edx
lea edx, [ebp + ebx]
mov dword [esp + 0x5c], edx
mov esi, dword [0x90e260]
lea edx, [ebp + ebx]
mov dword [esp + 0x58], edx
lea edx, [ebp + ebx + 4]
mov dword [esp + 0x54], edx
lea edx, [ebp + ebx + 0xc]
mov dword [esp + 0x50], edx
lea edx, [ebp + ebx + 0x10]
mov dword [esp + 0x4c], edx
test esi, esi
jne 0x4da675
mov dword [ebp + ebx], eax
mov dword [ebp + ebx + 4], ecx
jmp 0x4da689
mov edi, dword [esp + 0x58]
call fcn.004630d0
mov edi, dword [esp + 0x54]
mov eax, ecx
call fcn.004630d0
lea eax, [esp + 0xcc]
mov dword [esp], eax
call fcn.00489bd0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x60]
mov dword [ebp + ebx + 0x14], edx
mov edx, dword [0x90e260]
test edx, edx
jne 0x4da6c4
mov dword [ebp + ebx + 0xc], eax
mov dword [ebp + ebx + 0x10], ecx
jmp 0x4da6d8
mov edi, dword [esp + 0x50]
call fcn.004630d0
mov edi, dword [esp + 0x4c]
mov eax, ecx
call fcn.004630d0
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call fcn.004dc1d0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
test eax, eax
je 0x4da5d8
jmp 0x4da8c1
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.00409260
mov eax, dword [esp + 0xc]
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
lea ecx, [0x4dac30]
mov dword [esp + 0x8c], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x90], ecx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x94], edx
mov dword [esp + 0x98], edx
lea ebx, [0x68d600]
mov dword [esp], ebx
mov dword [esp + 4], eax
lea eax, [esp + 0x8c]
mov dword [esp + 8], eax
call fcn.00490490
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4da798
xor ecx, ecx
mov edx, dword [esp + 0x60]
jmp 0x4da7e6
mov eax, dword [esp + 0x114]
mov dword [esp], eax
mov byte [esp + 4], 0x7d
call fcn.004ce760
mov eax, dword [esp + 0x114]
dec dword [eax + 0x54]
movzx eax, byte [esp + 0x1f]
test al, 1
je 0x4da7d2
and eax, 0xfffffffe
mov byte [esp + 0x1e], al
mov edx, dword [esp + 0x108]
mov eax, dword [edx]
call eax
add esp, 0x10c
ret
mov ebx, dword [esp + 0x5c]
lea edx, [ebx + 0x20]
mov ecx, eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x5c], edx
lea edi, [esp + 0xac]
mov esi, edx
call fcn.00463830
mov ecx, dword [esp + 0x24]
test ecx, ecx
jle 0x4da818
mov eax, dword [esp + 0x114]
mov dword [esp], eax
mov byte [esp + 4], 0x2c
call fcn.004ce760
mov eax, dword [esp + 0xc4]
mov ecx, dword [esp + 0xc8]
mov edx, dword [esp + 0x114]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
movzx eax, byte [esp + 0x125]
mov byte [esp + 0xc], al
call fcn.004dc490
mov eax, dword [esp + 0x114]
mov dword [esp], eax
mov byte [esp + 4], 0x3a
call fcn.004ce760
mov edx, dword [esp + 0x110]
mov eax, dword [edx]
mov ecx, dword [esp + 0xb8]
mov ebx, dword [esp + 0xbc]
mov ebp, dword [esp + 0xc0]
mov esi, dword [esp + 0x114]
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
movzx ecx, byte [esp + 0x124]
mov byte [esp + 0x10], cl
movzx ebx, byte [esp + 0x125]
mov byte [esp + 0x11], bl
call eax
mov eax, dword [esp + 0x24]
inc eax
mov ecx, dword [esp + 0x20]
cmp ecx, eax
jg 0x4da7d9
jmp 0x4da798
mov dword [esp + 0x2c], eax
mov dword [esp + 0x40], ecx
mov edx, dword [esp + 0x120]
test edx, edx
je 0x4daa1d
test edx, 0x200
jne 0x4daa1d
lea edx, [0x752f6c]
mov ebx, dword [esp + 0x118]
mov eax, dword [edx + 0x80]
mov dword [esp], ebx
call eax
mov eax, dword [esp + 4]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0x2c]
mov edx, dword [edx + 0x10]
mov ebx, dword [esp + 0x40]
mov dword [esp], ebx
call edx
mov eax, dword [esp + 4]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov edx, dword [esp + 0x48]
mov dword [esp], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 4], edx
call fcn.004091e0
mov eax, dword [esp + 8]
lea ecx, [0x696a40]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x44]
mov dword [esp], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
call fcn.004091e0
mov eax, dword [esp + 8]
lea ecx, [0x696a40]
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa8], eax
lea eax, [0x6dc28b]
mov dword [esp], eax
mov dword [esp + 4], 0x24
lea eax, [esp + 0x9c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004beaf0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], ecx
lea eax, [0x6a9040]
mov dword [esp], eax
lea ecx, [esp + 0x64]
mov dword [esp + 4], ecx
call fcn.00408f90
mov eax, dword [esp + 8]
lea ecx, [0x6a9040]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00436fc0
mov eax, dword [esp + 0x118]
mov dword [esp], eax
mov eax, dword [esp + 0x11c]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.0048b1d0
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
jmp 0x4da8f1
mov eax, ebx
mov ecx, ebp
call fcn.00463150
test eax, 0x200
jne 0x4dab9f
lea ecx, [0x752f6c]
mov edx, dword [esp + 0x118]
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
test ecx, ecx
je 0x4daa80
mov ecx, dword [ecx + 4]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], edx
lea eax, [0x6d75d8]
mov dword [esp], eax
mov dword [esp + 4], 0x1a
lea eax, [esp + 0x6c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004c15b0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x34], ecx
lea edx, [0x6a6d00]
mov dword [esp], edx
call fcn.0040b800
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x120]
mov dword [edi + 8], eax
mov eax, dword [0x90e260]
test eax, eax
jne 0x4dab79
mov ecx, dword [esp + 0x118]
mov dword [edi], ecx
mov ecx, dword [esp + 0x11c]
mov dword [edi + 4], ecx
mov ecx, dword [esp + 0x34]
mov dword [edi + 0x10], ecx
mov ecx, dword [0x90e260]
test ecx, ecx
jne 0x4dab65
mov eax, dword [esp + 0x48]
mov dword [edi + 0xc], eax
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
lea eax, [0x7510b4]
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], edi
lea eax, [0x6a9040]
mov dword [esp], eax
lea ecx, [esp + 0x64]
mov dword [esp + 4], ecx
call fcn.00408f90
mov eax, dword [esp + 8]
lea ecx, [0x6a9040]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00436fc0
lea ecx, [edi + 0xc]
mov eax, dword [esp + 0x48]
mov edx, edi
mov edi, ecx
call fcn.004630d0
mov edi, edx
jmp 0x4dab1b
mov eax, dword [esp + 0x118]
call fcn.004630d0
lea ecx, [edi + 4]
mov eax, dword [esp + 0x11c]
mov edx, edi
mov edi, ecx
call fcn.004630d0
mov edi, edx
jmp 0x4dab03
mov ecx, dword [esp + 0x118]
mov dword [esp], ecx
mov edx, dword [esp + 0x11c]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.0048b1d0
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x120]
jmp 0x4daa69
lea eax, [0x6a7c00]
mov dword [esp], eax
call fcn.0040b800
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x13
lea ecx, [0x6d3bd4]
mov dword [eax], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 8], ecx
lea ecx, [0x69cfa0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00436fc0
nop
call fcn.00436440
add esp, 0x10c
ret
call fcn.00461cc0
jmp fcn.004da2f0