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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x210]
cmp eax, dword [ecx + 8]
jbe 0x4e2d55
sub esp, 0x290
lea edi, [esp + 0x2ec]
xor eax, eax
call fcn.00465fdd
mov ecx, dword [esp + 0x294]
mov edx, dword [ecx + 0x10]
test edx, edx
je 0x4e29c8
mov edx, dword [esp + 0x29c]
test edx, edx
jne 0x4e2312
xor edx, edx
jmp 0x4e234a
lea eax, [0x69d6e0]
mov dword [esp], eax
mov ecx, dword [esp + 0x298]
mov dword [esp + 4], ecx
lea edx, [esp + 0x29c]
mov dword [esp + 8], edx
call fcn.0040ce40
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
mov eax, dword [eax + 0x14]
mov ecx, dword [esp + 0x294]
mov edx, eax
xor eax, eax
mov ebx, dword [ecx + 0x10]
mov ebp, dword [ecx + 0xc]
cmp edx, ebx
jae 0x4e2d4b
mov ebx, edx
shl edx, 5
lea esi, [ebp + edx]
lea edi, [esp + 0xa8]
call fcn.004664b0
mov ecx, dword [esp + 0x2e8]
cmp ecx, 1
jbe 0x4e26fd
lea edx, [ecx - 2]
cmp edx, 1
ja 0x4e23ec
cmp ecx, 2
jne 0x4e2391
mov ecx, 0xffffffff
jmp 0x4e2396
mov ecx, 1
mov edx, dword [esp + 0x29c]
test edx, edx
je 0x4e23ac
mov edx, dword [esp + 0xb0]
add edx, ecx
jmp 0x4e23ae
xor edx, edx
mov dword [esp + 0x34], ecx
mov ebp, dword [esp + 0xc0]
add ebp, dword [esp + 0xb8]
mov esi, ebp
shr ebp, 0x1f
add ebp, esi
sar ebp, 1
mov dword [esp + 0x3c], ebp
mov esi, dword [esp + 0x294]
mov edi, 0xf4240
xor eax, eax
mov dword [esp + 0x38], eax
xor eax, eax
mov dword [esp + 0x5c], eax
xor eax, eax
jmp 0x4e2a71
lea edx, [ecx - 4]
cmp edx, 1
ja 0x4e2a03
mov edx, dword [esp + 0x294]
mov ebx, dword [edx + 4]
test ebx, ebx
je 0x4e2a03
cmp ecx, 5
jne 0x4e2416
mov ebx, 0xffffffff
jmp 0x4e2418
xor ebx, ebx
mov ebp, dword [esp + 0x29c]
test ebp, ebp
je 0x4e246a
lea eax, [0x69d6e0]
mov dword [esp], eax
mov eax, dword [esp + 0x298]
mov dword [esp + 4], eax
lea eax, [esp + 0x29c]
mov dword [esp + 8], eax
call fcn.0040ce40
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
mov ecx, dword [esp + 0x2e8]
cmp ecx, 4
je 0x4e245f
add eax, 0xfffffffe
mov edx, dword [esp + 0x294]
mov ebx, eax
xor eax, eax
mov ecx, dword [edx + 4]
add ebx, ecx
test ecx, ecx
je 0x4e2a45
mov dword [esp + 0x44], ecx
lea edi, [esp + 0x244]
lea esi, [esp + 0x29c]
call fcn.00466442
mov eax, ebx
mov ecx, dword [esp + 0x44]
mov ebx, edx
cdq
idiv ecx
mov ecx, dword [ebx + 4]
mov ebx, dword [ebx]
cmp ecx, edx
jbe 0x4e2a3e
lea ecx, [ebx + edx*8]
mov edx, dword [ecx]
mov dword [esp + 0x30], edx
mov ecx, dword [ecx + 4]
mov dword [esp + 0x58], ecx
lea edi, [esp + 0x160]
xor eax, eax
call fcn.00465fdd
mov ecx, dword [esp + 0x244]
mov ebx, dword [esp + 0x248]
cmp ecx, edx
jne 0x4e2517
mov dword [esp], edx
mov eax, dword [esp + 0x58]
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
call fcn.00403860
movzx eax, byte [esp + 0xc]
test al, al
je 0x4e2511
lea edi, [esp + 0x160]
lea esi, [esp + 0x244]
call fcn.00466442
xor edx, edx
xor eax, eax
xor ecx, ecx
jmp 0x4e26c6
xor eax, eax
mov edx, dword [esp + 0x30]
lea edi, [esp + 0x250]
call fcn.00465fe0
mov ecx, dword [esp + 0x244]
mov ebx, dword [esp + 0x248]
test ecx, ecx
jne 0x4e2540
xor ecx, ecx
xor eax, eax
xor ebx, ebx
jmp 0x4e25d0
mov dword [esp + 0x40], ecx
mov dword [esp + 0x64], ebx
mov dword [esp], 0
mov dword [esp + 4], 1
mov dword [esp + 8], 0
mov dword [esp + 0xc], 1
lea eax, [0x6b2140]
mov dword [esp + 0x10], eax
call fcn.0044be60
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
lea edx, [0x7856c4]
mov dword [eax], edx
mov ebx, dword [esp + 0x40]
mov dword [eax + 8], ebx
mov ebx, dword [0x1eaa9f0]
test ebx, ebx
jne 0x4e25a9
lea ebx, [0x934160]
mov dword [eax + 4], ebx
mov ebx, dword [esp + 0x64]
mov dword [eax + 0xc], ebx
jmp 0x4e25c7
lea edi, [eax + 4]
mov ebx, eax
lea eax, [0x934160]
call fcn.00465d80
lea edi, [ebx + 0xc]
mov eax, dword [esp + 0x64]
call fcn.00465d80
mov eax, ebx
mov edx, dword [esp + 0x30]
mov ebx, 1
mov dword [esp + 0x244], edx
mov ebp, dword [esp + 0x58]
mov dword [esp + 0x248], ebp
test edx, edx
je 0x4e2684
inc ebx
cmp ecx, ebx
jae 0x4e2625
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x6b2140]
mov dword [esp + 0x10], eax
call fcn.0044be60
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x30]
mov ebp, dword [esp + 0x58]
mov esi, ecx
lea ecx, [ebx - 1]
shl ecx, 4
mov edi, ebx
lea ebx, [0x7856c4]
mov dword [eax + ecx], ebx
mov dword [eax + ecx + 8], edx
mov edx, dword [0x1eaa9f0]
lea ebx, [eax + ecx + 4]
mov dword [esp + 0x60], ebx
lea ebx, [eax + ecx + 0xc]
test edx, edx
jne 0x4e2662
lea edx, [0x934168]
mov dword [eax + ecx + 4], edx
mov dword [eax + ecx + 0xc], ebp
jmp 0x4e2688
mov ecx, edi
mov edi, dword [esp + 0x60]
mov edx, eax
lea eax, [0x934168]
call fcn.00465d80
mov edi, ebx
mov eax, ebp
call fcn.00465d80
mov eax, edx
mov edi, ecx
jmp 0x4e2688
mov edi, ebx
mov esi, ecx
mov ecx, dword [esp + 0x244]
test ecx, ecx
je 0x4e269f
movzx ecx, byte [esp + 0x24c]
test cl, cl
jne 0x4e26a7
mov byte [esp + 0x24c], 1
mov dword [esp + 0x24], edi
lea edi, [esp + 0x160]
mov edx, esi
lea esi, [esp + 0x244]
call fcn.00466442
mov ecx, eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x50], ecx
lea edi, [esp + 0x2ec]
lea esi, [esp + 0x160]
call fcn.00466442
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x338], ecx
mov dword [esp + 0x33c], eax
mov dword [esp + 0x340], edx
add esp, 0x290
ret
mov edx, dword [esp + 0x29c]
test edx, edx
je 0x4e2715
lea edx, [ebx + 1]
cmp ecx, 1
jne 0x4e2717
lea edx, [ebx - 1]
jmp 0x4e2717
mov edx, ebx
test edx, edx
jl 0x4e2a03
mov ecx, dword [esp + 0x294]
mov ebx, dword [ecx + 0xc]
cmp dword [ecx + 0x10], edx
jle 0x4e2a03
shl edx, 5
lea esi, [ebx + edx]
lea edi, [esp + 0x88]
call fcn.004664b0
mov ecx, dword [esp + 0x90]
cmp dword [esp + 0xb0], ecx
jne 0x4e2a03
lea edi, [esp + 0x1f8]
lea esi, [esp + 0x29c]
call fcn.00466442
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x2c], ecx
mov edx, dword [esp + 0x8c]
mov dword [esp + 0x54], edx
lea edi, [esp + 0x114]
call fcn.00465fdd
mov ecx, dword [esp + 0x1fc]
mov ebx, dword [esp + 0x2c]
cmp dword [esp + 0x1f8], ebx
jne 0x4e27e2
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.00403860
movzx eax, byte [esp + 0xc]
test al, al
je 0x4e27d8
lea edi, [esp + 0x114]
lea esi, [esp + 0x1f8]
call fcn.00466442
xor eax, eax
xor edx, edx
xor ecx, ecx
jmp 0x4e2991
xor eax, eax
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x2c]
lea edi, [esp + 0x204]
call fcn.00465fe0
mov ecx, dword [esp + 0x1f8]
mov ebp, dword [esp + 0x1fc]
test ecx, ecx
jne 0x4e280b
xor ecx, ecx
xor eax, eax
xor ebp, ebp
jmp 0x4e289f
mov dword [esp + 0x64], ebp
mov dword [esp + 0x40], ecx
mov dword [esp], 0
mov dword [esp + 4], 1
mov dword [esp + 8], 0
mov dword [esp + 0xc], 1
lea eax, [0x6b2140]
mov dword [esp + 0x10], eax
call fcn.0044be60
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
lea edx, [0x7856c4]
mov dword [eax], edx
mov ebx, dword [esp + 0x40]
mov dword [eax + 8], ebx
mov ebx, dword [0x1eaa9f0]
test ebx, ebx
jne 0x4e2874
lea ebx, [0x934160]
mov dword [eax + 4], ebx
mov ebx, dword [esp + 0x64]
mov dword [eax + 0xc], ebx
jmp 0x4e2892
lea edi, [eax + 4]
mov ebx, eax
lea eax, [0x934160]
call fcn.00465d80
lea edi, [ebx + 0xc]
mov eax, dword [esp + 0x64]
call fcn.00465d80
mov eax, ebx
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x2c]
mov ebp, 1
mov dword [esp + 0x1f8], ebx
mov dword [esp + 0x1fc], edx
test ebx, ebx
je 0x4e294f
inc ebp
cmp ecx, ebp
jae 0x4e28f0
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x6b2140]
mov dword [esp + 0x10], eax
call fcn.0044be60
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x2c]
mov esi, ecx
lea ecx, [ebp - 1]
shl ecx, 4
mov edi, ebp
lea ebp, [0x7856c4]
mov dword [eax + ecx], ebp
mov dword [eax + ecx + 8], ebx
mov ebx, dword [0x1eaa9f0]
lea ebp, [eax + ecx + 4]
mov dword [esp + 0x60], ebp
lea ebp, [eax + ecx + 0xc]
test ebx, ebx
jne 0x4e292d
lea ebx, [0x934168]
mov dword [eax + ecx + 4], ebx
mov dword [eax + ecx + 0xc], edx
jmp 0x4e2953
mov ecx, edi
mov edi, dword [esp + 0x60]
mov ebx, eax
lea eax, [0x934168]
call fcn.00465d80
mov edi, ebp
mov eax, edx
call fcn.00465d80
mov eax, ebx
mov edi, ecx
jmp 0x4e2953
mov esi, ecx
mov edi, ebp
mov ecx, dword [esp + 0x1f8]
test ecx, ecx
je 0x4e296a
movzx ecx, byte [esp + 0x200]
test cl, cl
jne 0x4e2972
mov byte [esp + 0x200], 1
mov dword [esp + 0x20], edi
lea edi, [esp + 0x114]
mov edx, esi
lea esi, [esp + 0x1f8]
call fcn.00466442
mov ecx, eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x4c], ecx
lea edi, [esp + 0x2ec]
lea esi, [esp + 0x114]
call fcn.00466442
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x338], ecx
mov dword [esp + 0x33c], eax
mov dword [esp + 0x340], edx
add esp, 0x290
ret
lea edi, [esp + 0x2ec]
lea esi, [esp + 0x29c]
call fcn.00466442
mov dword [esp + 0x338], 0
mov dword [esp + 0x33c], 0
mov dword [esp + 0x340], 0
add esp, 0x290
ret
lea edi, [esp + 0x2ec]
lea esi, [esp + 0x29c]
call fcn.00466442
mov dword [esp + 0x338], 0
mov dword [esp + 0x33c], 0
mov dword [esp + 0x340], 0
add esp, 0x290
ret
mov eax, edx
call fcn.00465e00
call fcn.00435bc0
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x34]
add edi, eax
xor eax, eax
mov esi, dword [esp + 0x294]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x5c], ebp
mov ebp, dword [esp + 0x3c]
mov ebx, edi
mov edi, ecx
mov ecx, dword [esp + 0x34]
test ebx, ebx
jl 0x4e2af3
mov ebp, dword [esi + 0xc]
cmp dword [esi + 0x10], ebx
jle 0x4e2af3
mov dword [esp + 0x28], ebx
shl ebx, 5
add ebx, ebp
mov ebp, edi
lea edi, [esp + 0x68]
mov esi, ebx
call fcn.004664b0
mov ecx, dword [esp + 0x70]
cmp edx, ecx
jne 0x4e2ad2
mov ecx, dword [esp + 0x80]
add ecx, dword [esp + 0x78]
mov ebx, ecx
shr ecx, 0x1f
add ecx, ebx
sar ecx, 1
mov ebx, dword [esp + 0x3c]
mov esi, ebx
sub ebx, ecx
test ebx, ebx
jge 0x4e2abf
sub ecx, esi
jmp 0x4e2ac1
mov ecx, ebx
cmp ebp, ecx
jl 0x4e2af3
mov ebx, dword [esp + 0x68]
mov ebp, dword [esp + 0x6c]
jmp 0x4e2a4a
mov ebx, dword [esp + 0x34]
mov esi, edx
add edx, ebx
cmp ecx, edx
je 0x4e2af3
mov edx, esi
mov esi, dword [esp + 0x3c]
mov ecx, ebp
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x5c]
jmp 0x4e2a4a
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x4e2a03
lea edi, [esp + 0x1ac]
lea esi, [esp + 0x29c]
call fcn.00466442
lea edi, [esp + 0xc8]
call fcn.00465fdd
mov ecx, dword [esp + 0x1b0]
mov edx, dword [esp + 0x38]
cmp dword [esp + 0x1ac], edx
jne 0x4e2b73
mov dword [esp], edx
mov eax, dword [esp + 0x5c]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00403860
movzx eax, byte [esp + 0xc]
test al, al
je 0x4e2b6d
lea edi, [esp + 0xc8]
lea esi, [esp + 0x1ac]
call fcn.00466442
xor edx, edx
xor eax, eax
xor ecx, ecx
jmp 0x4e2d14
xor eax, eax
mov edx, dword [esp + 0x38]
lea edi, [esp + 0x1b8]
call fcn.00465fe0
mov ecx, dword [esp + 0x1ac]
mov ebx, dword [esp + 0x1b0]
test ecx, ecx
jne 0x4e2b9c
xor ecx, ecx
xor eax, eax
xor ebx, ebx
jmp 0x4e2c2c
mov dword [esp + 0x64], ebx
mov dword [esp + 0x40], ecx
mov dword [esp], 0
mov dword [esp + 4], 1
mov dword [esp + 8], 0
mov dword [esp + 0xc], 1
lea eax, [0x6b2140]
mov dword [esp + 0x10], eax
call fcn.0044be60
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
lea edx, [0x7856c4]
mov dword [eax], edx
mov ebx, dword [esp + 0x40]
mov dword [eax + 8], ebx
mov ebx, dword [0x1eaa9f0]
test ebx, ebx
jne 0x4e2c05
lea ebx, [0x934160]
mov dword [eax + 4], ebx
mov ebx, dword [esp + 0x64]
mov dword [eax + 0xc], ebx
jmp 0x4e2c23
lea edi, [eax + 4]
mov ebx, eax
lea eax, [0x934160]
call fcn.00465d80
lea edi, [ebx + 0xc]
mov eax, dword [esp + 0x64]
call fcn.00465d80
mov eax, ebx
mov edx, dword [esp + 0x38]
mov ebx, 1
mov dword [esp + 0x1ac], edx
mov ebp, dword [esp + 0x5c]
mov dword [esp + 0x1b0], ebp
inc ebx
cmp ecx, ebx
jae 0x4e2c79
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x6b2140]
mov dword [esp + 0x10], eax
call fcn.0044be60
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x38]
mov ebp, dword [esp + 0x5c]
mov esi, ecx
lea ecx, [ebx - 1]
shl ecx, 4
mov edi, ebx
lea ebx, [0x7856c4]
mov dword [eax + ecx], ebx
mov dword [eax + ecx + 8], edx
mov edx, dword [0x1eaa9f0]
lea ebx, [eax + ecx + 4]
mov dword [esp + 0x60], ebx
lea ebx, [eax + ecx + 0xc]
test edx, edx
jne 0x4e2cb6
lea edx, [0x934168]
mov dword [eax + ecx + 4], edx
mov dword [eax + ecx + 0xc], ebp
jmp 0x4e2cd6
mov ecx, edi
mov edi, dword [esp + 0x60]
mov edx, eax
lea eax, [0x934168]
call fcn.00465d80
mov edi, ebx
mov eax, ebp
call fcn.00465d80
mov eax, edx
mov edi, ecx
mov ecx, dword [esp + 0x1ac]
test ecx, ecx
je 0x4e2ced
movzx ecx, byte [esp + 0x1b4]
test cl, cl
jne 0x4e2cf5
mov byte [esp + 0x1b4], 1
mov dword [esp + 0x44], edi
lea edi, [esp + 0xc8]
mov edx, esi
lea esi, [esp + 0x1ac]
call fcn.00466442
mov ecx, eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x48], ecx
lea edi, [esp + 0x2ec]
lea esi, [esp + 0xc8]
call fcn.00466442
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x338], ecx
mov dword [esp + 0x33c], eax
mov dword [esp + 0x340], edx
add esp, 0x290
ret
mov eax, edx
mov ecx, ebx
call fcn.00465e00
nop
call fcn.004649b0
jmp fcn.004e22c0