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

Disassembly:
mov ecx, dword [0x98d270]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x88]
cmp eax, dword [ecx + 8]
jbe 0x4e08f0
sub esp, 0x108
mov eax, 0
mov dword [esp + 0x104], eax
mov byte [esp + 0x2b], 0
mov eax, dword [esp + 0x11c]
mov ecx, eax
and eax, 0x1f
mov dword [esp + 0x44], eax
nop
cmp eax, 0x14
ja 0x4e000a
lea edx, [eax - 0x12]
cmp edx, 1
jbe 0x4e002d
cmp eax, 0x14
je 0x4e0014
jmp 0x4e08a9
cmp eax, 0x16
jbe 0x4e002d
cmp eax, 0x17
jne 0x4e0024
mov edx, dword [esp + 0x118]
mov ebx, dword [edx]
test ebx, ebx
setne bl
jmp 0x4e0056
cmp eax, 0x1a
jne 0x4e08a9
test ecx, 0x200
jne 0x4e0084
test ecx, 0x80
je 0x4e0048
mov edx, dword [esp + 0x118]
mov ebx, dword [edx]
jmp 0x4e0051
mov edx, dword [esp + 0x118]
mov ebx, edx
test ebx, ebx
setne bl
test bl, bl
jne 0x4e008b
mov eax, dword [esp + 0x110]
test byte [eax], al
mov dword [esp], eax
lea eax, [0x70ac71]
mov dword [esp + 4], eax
mov dword [esp + 8], 4
call fcn.004ccdb0
add esp, 0x108
ret
mov edx, dword [esp + 0x118]
mov ebx, dword [esp + 0x110]
mov ebp, dword [ebx + 0x14]
inc ebp
mov dword [ebx + 0x14], ebp
cmp ebp, 0x3e8
ja 0x4e00a8
xor ebp, ebp
jmp 0x4e01bf
mov eax, dword [esp + 0x114]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.004aee90
mov eax, dword [esp + 0xc]
mov dword [esp + 0x48], eax
lea ecx, [0x6bd520]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], eax
mov edx, dword [esp + 0x110]
mov ebx, dword [edx + 0x18]
lea ebp, [0x6c17e0]
mov dword [esp], ebp
mov dword [esp + 4], ebx
lea ebx, [esp + 0x70]
mov dword [esp + 8], ebx
call fcn.0040d510
movzx eax, byte [esp + 0x10]
test al, al
je 0x4e0116
mov eax, dword [esp + 0x11c]
test eax, eax
jne 0x4e0739
jmp 0x4e0877
lea eax, [0x6bd520]
mov dword [esp + 0x70], eax
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x74], ecx
mov edx, dword [esp + 0x110]
mov ebx, dword [edx + 0x18]
lea ebp, [0x6c17e0]
mov dword [esp], ebp
mov dword [esp + 4], ebx
lea ebx, [esp + 0x70]
mov dword [esp + 8], ebx
call fcn.0040d890
mov eax, dword [esp + 0xc]
test byte [eax], al
mov eax, dword [esp + 0x110]
mov ecx, dword [eax + 0x18]
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea edx, [0x4e0980]
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], ecx
lea ecx, [0x6bd520]
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x84], ecx
lea ecx, [esp + 0x78]
mov dword [esp + 0x104], ecx
mov byte [esp + 0x2b], 1
mov ebx, eax
mov ebp, 1
xchg ebp, eax
mov byte [esp + 0x2a], al
xchg ebp, eax
mov dword [esp], ebx
mov byte [esp + 4], 0x7b
call fcn.004cd2b0
mov eax, dword [esp + 0x44]
cmp eax, 0x17
jne 0x4e01e7
mov ecx, dword [esp + 0x118]
mov edx, dword [ecx + 4]
jmp 0x4e0210
mov eax, dword [esp + 0x114]
mov dword [esp], eax
mov ecx, dword [esp + 0x118]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x11c]
mov dword [esp + 8], edx
call fcn.004ace20
mov edx, dword [esp + 0xc]
mov dword [esp + 0x2c], edx
lea eax, [0x6dd4a0]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], edx
call fcn.0044e050
mov eax, dword [esp + 0xc]
mov dword [esp + 0x5c], eax
nop
mov ecx, dword [esp + 0x44]
cmp ecx, 0x15
je 0x4e024f
mov eax, dword [esp + 0x11c]
mov dword [esp], eax
call fcn.004ad770
mov eax, dword [esp + 0x5c]
lea edi, [esp + 0xc8]
xor eax, eax
call fcn.00468c21
mov ecx, dword [esp + 0x11c]
mov dword [esp + 0xd0], ecx
mov edx, dword [esp + 0x114]
mov dword [esp + 0xc8], edx
mov ebx, dword [esp + 0x118]
mov dword [esp + 0xcc], ebx
xor eax, eax
jmp 0x4e0292
mov ecx, dword [esp + 0x34]
lea eax, [ecx + 1]
mov dword [esp + 0x34], eax
lea ecx, [esp + 0xc8]
mov dword [esp], ecx
call fcn.004ad680
movzx eax, byte [esp + 4]
test al, al
je 0x4e0394
lea eax, [esp + 0xc8]
mov dword [esp], eax
call fcn.004ad4e0
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
cmp eax, ecx
jae 0x4e0734
shl eax, 5
mov ebx, dword [esp + 0xc]
mov ebp, dword [esp + 0x5c]
lea esi, [ebp + eax]
mov dword [esp + 0x58], esi
mov edi, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [ebp + eax + 8], ebx
mov ebx, dword [0x98d4e0]
test ebx, ebx
je 0x4e0316
mov ebx, edi
call fcn.004689c0
mov dword [edi], ebx
mov edx, dword [ebp + eax]
mov dword [edi + 4], edx
mov dword [edi + 8], ecx
mov edx, dword [ebp + eax + 4]
mov dword [edi + 0xc], edx
mov edi, ebx
mov dword [esp + 0x40], eax
mov dword [ebp + eax], edi
mov dword [ebp + eax + 4], ecx
lea ecx, [esp + 0xc8]
mov dword [esp], ecx
call fcn.004ad5b0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0x40]
mov ebp, dword [esp + 0x5c]
mov dword [ebp + ebx + 0x14], eax
mov eax, dword [0x98d4e0]
test eax, eax
je 0x4e036b
call fcn.004689c0
mov dword [edi], ecx
mov eax, dword [ebp + ebx + 0xc]
mov dword [edi + 4], eax
mov dword [edi + 8], edx
mov eax, dword [ebp + ebx + 0x10]
mov dword [edi + 0xc], eax
mov dword [ebp + ebx + 0xc], ecx
mov dword [ebp + ebx + 0x10], edx
mov eax, dword [esp + 0x58]
mov dword [esp], eax
call fcn.004e1dc0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
test eax, eax
je 0x4e028b
jmp 0x4e05ad
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov ecx, dword [esp + 0x2c]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.00409db0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
lea ecx, [0x4e0900]
mov dword [esp + 0x88], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], ecx
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x8c], edx
lea ebx, [0x6b2fa0]
mov dword [esp], ebx
mov dword [esp + 4], eax
lea eax, [esp + 0x88]
mov dword [esp + 8], eax
call fcn.00491c00
mov eax, dword [esp + 0x5c]
xor ecx, ecx
jmp 0x4e0525
mov eax, dword [esp + 0xc0]
mov edx, dword [esp + 0xc4]
mov ebx, dword [esp + 0x110]
mov ebp, dword [ebx + 4]
mov esi, dword [ebx + 8]
sub esi, ebp
mov edi, esi
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and ebp, esi
add ebp, dword [ebx]
inc ecx
mov dword [esp + 0x40], ecx
lea esi, [0x7735b0]
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], 0
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
movzx eax, byte [esp + 0x121]
mov byte [esp + 0x18], al
call fcn.004e80f0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x110]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
call fcn.004ccce0
mov eax, dword [esp + 0x110]
mov dword [esp], eax
mov byte [esp + 4], 0x3a
call fcn.004cd2b0
mov edx, dword [esp + 0x10c]
mov eax, dword [edx]
mov ecx, dword [esp + 0xb4]
mov ebx, dword [esp + 0xb8]
mov ebp, dword [esp + 0xbc]
mov esi, dword [esp + 0x110]
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
movzx ecx, byte [esp + 0x120]
mov byte [esp + 0x10], cl
movzx ebx, byte [esp + 0x121]
mov byte [esp + 0x11], bl
call eax
mov eax, dword [esp + 0x5c]
add eax, 0x20
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x2c]
cmp ecx, edx
jge 0x4e056c
mov dword [esp + 0x30], ecx
mov dword [esp + 0x5c], eax
lea edi, [esp + 0xa8]
mov esi, eax
call fcn.004690f0
mov ecx, dword [esp + 0x30]
test ecx, ecx
jle 0x4e042e
mov eax, dword [esp + 0x110]
mov dword [esp], eax
mov byte [esp + 4], 0x2c
call fcn.004cd2b0
mov ecx, dword [esp + 0x30]
jmp 0x4e042e
mov eax, dword [esp + 0x110]
mov dword [esp], eax
mov byte [esp + 4], 0x7d
call fcn.004cd2b0
mov eax, dword [esp + 0x110]
dec dword [eax + 0x14]
movzx eax, byte [esp + 0x2a]
test al, 1
je 0x4e05a6
and eax, 0xfffffffe
mov byte [esp + 0x2b], al
mov edx, dword [esp + 0x104]
mov eax, dword [edx]
call eax
add esp, 0x108
ret
mov dword [esp + 0x38], eax
mov dword [esp + 0x4c], ecx
mov edx, dword [esp + 0x11c]
test edx, edx
je 0x4e0709
test edx, 0x200
jne 0x4e0709
lea edx, [0x7767c4]
mov ebx, dword [esp + 0x114]
mov eax, dword [edx + 0x80]
mov dword [esp], ebx
call eax
mov eax, dword [esp + 4]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x40], ecx
mov edx, dword [esp + 0x38]
mov edx, dword [edx + 0x10]
mov ebx, dword [esp + 0x4c]
mov dword [esp], ebx
call edx
mov eax, dword [esp + 4]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov edx, dword [esp + 0x54]
mov dword [esp], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 4], edx
call fcn.00409d30
mov eax, dword [esp + 8]
lea ecx, [0x6bd160]
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
call fcn.00409d30
mov eax, dword [esp + 8]
lea ecx, [0x6bd160]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], eax
lea eax, [0x71acdf]
mov dword [esp], eax
mov dword [esp + 4], 0x24
lea eax, [esp + 0x98]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004c2e60
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
lea eax, [0x6d7620]
mov dword [esp], eax
lea ecx, [esp + 0x60]
mov dword [esp + 4], ecx
call fcn.00409af0
mov eax, dword [esp + 8]
lea ecx, [0x6d7620]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004385d0
mov eax, dword [esp + 0x114]
mov dword [esp], eax
mov eax, dword [esp + 0x118]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.004aed40
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
jmp 0x4e05dd
call fcn.00468a00
test eax, 0x200
jne 0x4e0877
lea ecx, [0x7767c4]
mov edx, dword [esp + 0x114]
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
test ecx, ecx
je 0x4e0768
mov ecx, dword [ecx + 4]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], edx
lea eax, [0x715efe]
mov dword [esp], eax
mov dword [esp + 4], 0x1a
lea eax, [esp + 0x68]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004c5a30
mov eax, dword [esp + 0x14]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x40], ecx
lea edx, [0x6d51c0]
mov dword [esp], edx
call fcn.0040c4f0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x11c]
mov dword [eax + 8], ecx
mov ecx, dword [0x98d4e0]
test ecx, ecx
jne 0x4e085a
mov ecx, dword [esp + 0x114]
mov dword [eax], ecx
mov ecx, dword [esp + 0x118]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x40]
mov dword [eax + 0x10], ecx
mov ecx, dword [0x98d4e0]
test ecx, ecx
jne 0x4e084d
mov ecx, dword [esp + 0x54]
mov dword [eax + 0xc], ecx
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
lea ecx, [0x773f04]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], eax
lea eax, [0x6d7620]
mov dword [esp], eax
lea ecx, [esp + 0x60]
mov dword [esp + 4], ecx
call fcn.00409af0
mov eax, dword [esp + 8]
lea ecx, [0x6d7620]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004385d0
call fcn.00468990
mov ecx, dword [esp + 0x54]
mov dword [edi], ecx
jmp 0x4e07fc
call fcn.004689a0
mov ecx, dword [esp + 0x114]
mov dword [edi], ecx
mov edx, dword [esp + 0x118]
mov dword [edi + 4], edx
jmp 0x4e07d8
mov ecx, dword [esp + 0x114]
mov dword [esp], ecx
mov edx, dword [esp + 0x118]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.004aed40
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x11c]
jmp 0x4e0751
lea eax, [0x6d5460]
mov dword [esp], eax
call fcn.0040c4f0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x13
lea ecx, [0x711b07]
mov dword [eax], ecx
mov ecx, dword [esp + 0x44]
mov dword [eax + 8], ecx
lea ecx, [0x6c72a0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004385d0
nop
call fcn.00437b50
add esp, 0x108
ret
call fcn.00467590
jmp fcn.004dffb0