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

Disassembly:
push ebp
sub esp, 0x88
lea edx, [esp + 0x3c]
lea eax, [esp + 0x80]
mov dword [esp], edx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x54], 0x531120
mov dword [esp + 0x58], 0x53310e
mov dword [esp + 0x60], 0x4e4b1d
mov dword [esp + 0x64], esp
call fcn.004c3850
mov eax, dword [esp + 0xa0]
lea ecx, [esp + 0x7a]
mov dword [esp + 0x40], 0xffffffff
add eax, 0x6c
mov dword [esp], eax
call fcn.004d9700
sub esp, 4
mov ecx, dword [esp + 0xa0]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], 8
mov ecx, dword [ecx + 0xc]
and ecx, 0x4a
cmp ecx, 0x40
mov dword [esp + 0x20], ecx
je 0x4e4056
mov dword [esp + 0x28], 0x10
cmp ecx, 8
mov eax, 0xa
cmove eax, dword [esp + 0x28]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x98]
mov dword [esp], eax
lea ecx, [esp + 0x90]
mov dword [esp + 0x40], 0xffffffff
call fcn.004da270
sub esp, 4
test al, al
mov byte [esp + 0x39], al
mov word [esp + 0x10], 0
mov byte [esp + 0x3b], 0
je 0x4e473c
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x24], 0
mov byte [esp + 0x3a], 0
movzx eax, byte [ecx + 0x10]
cmp dword [esp + 0x28], 0x10
mov dword [esp + 0x2c], 0x16
je 0x4e40bb
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x2c], ecx
test al, al
mov dword [esp + 0x7c], 0x53c87c
jne 0x4e471c
xor edx, edx
mov eax, 0xffffffff
div dword [esp + 0x28]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x1c]
add eax, 0x78
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x1c]
cmp byte [eax + 0xa4], 0
je 0x4e4486
cmp byte [esp + 0x39], 0
mov dword [esp + 0x20], 0
mov byte [esp + 0x38], 0
jne 0x4e4156
lea esi, [esi]
mov eax, dword [esp + 0x1c]
cmp byte [eax + 0x10], 0
je 0x4e4129
movzx edx, word [esp + 0x10]
cmp word [eax + 0x26], dx
je 0x4e4414
mov eax, dword [esp + 0x1c]
movzx edx, word [esp + 0x10]
cmp word [eax + 0x24], dx
je 0x4e4156
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
movzx ecx, word [esp + 0x10]
cmp cx, word [eax]
je 0x4e4231
add eax, 2
sub edx, 1
jne 0x4e4145
mov byte [esp + 0x10], 0
mov eax, dword [esp + 0x7c]
mov ecx, dword [eax - 0xc]
test ecx, ecx
jne 0x4e42e7
lea esi, [esi]
mov edx, dword [esp + 0x24]
test edx, edx
jne 0x4e4200
cmp byte [esp + 0x3a], 0
jne 0x4e4200
mov ebp, dword [eax - 0xc]
test ebp, ebp
jne 0x4e4200
mov edx, dword [esp + 0xa8]
mov ecx, dword [esp + 0xa4]
mov dword [edx], 0
mov dword [ecx], 4
cmp byte [esp + 0x39], 0
je 0x4e41b5
mov edx, dword [esp + 0xa4]
or dword [edx], 2
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x90]
mov dword [esp + 0x14], ecx
lea ecx, [eax - 0xc]
cmp ecx, 0x53c870
mov dword [esp + 0x10], edx
mov dword [esp + 0x1c], ecx
jne 0x4e4ac8
lea eax, [esp + 0x3c]
mov dword [esp], eax
call fcn.004c3910
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
add esp, 0x88
pop ebp
ret 0x1c
cmp byte [esp + 0x10], 0
jne 0x4e418a
cmp byte [esp + 0x38], 0
je 0x4e4672
mov edx, dword [esp + 0xa8]
mov ecx, dword [esp + 0xa4]
mov dword [edx], 0xffffffff
mov dword [ecx], 4
jmp 0x4e41a4
sub eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
sar eax, 1
cmp eax, 0x10
lea edx, [eax - 6]
cmovge eax, edx
cmp dword [esp + 0x20], ecx
jbe 0x4e4340
mov byte [esp + 0x38], 1
mov ecx, dword [esp + 0x90]
test ecx, ecx
je 0x4e4370
mov eax, dword [ecx + 8]
cmp eax, dword [ecx + 0xc]
jae 0x4e4b56
add eax, 2
mov dword [ecx + 8], eax
mov word [esp + 0x94], 0xffff
mov eax, dword [ecx + 8]
cmp eax, dword [ecx + 0xc]
jae 0x4e4b42
movzx eax, word [eax]
cmp ax, 0xffff
je 0x4e4450
mov word [esp + 0x94], ax
mov byte [esp + 0x10], 0
mov ecx, dword [esp + 0x98]
test ecx, ecx
je 0x4e4384
xor eax, eax
cmp word [esp + 0x9c], 0xffff
je 0x4e43f0
cmp al, byte [esp + 0x10]
jne 0x4e4393
mov eax, dword [esp + 0x7c]
mov byte [esp + 0x10], 0
mov byte [esp + 0x39], 1
mov ecx, dword [eax - 0xc]
test ecx, ecx
je 0x4e4170
movsx eax, byte [esp + 0x24]
lea ecx, [esp + 0x7c]
mov dword [esp + 0x40], 1
mov dword [esp], eax
call fcn.00504ae0
sub esp, 4
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x7c]
mov dword [esp + 8], edx
mov eax, dword [ecx + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ecx + 8]
mov dword [esp], eax
call fcn.0052a570
test al, al
jne 0x4e4332
mov eax, dword [esp + 0xa4]
mov dword [eax], 4
mov eax, dword [esp + 0x7c]
jmp 0x4e4170
mov edx, dword [esp + 0x20]
mov ecx, eax
imul edx, dword [esp + 0x28]
not ecx
cmp ecx, edx
setb cl
add edx, eax
or byte [esp + 0x38], cl
mov ecx, dword [esp + 0x90]
add dword [esp + 0x24], 1
mov dword [esp + 0x20], edx
test ecx, ecx
jne 0x4e4262
mov ecx, dword [esp + 0x98]
mov byte [esp + 0x10], 1
test ecx, ecx
jne 0x4e42b3
mov eax, 1
cmp al, byte [esp + 0x10]
je 0x4e42ce
mov ecx, dword [esp + 0x90]
test ecx, ecx
je 0x4e447a
movzx eax, word [esp + 0x94]
cmp ax, 0xffff
mov word [esp + 0x10], ax
jne 0x4e4110
mov eax, dword [ecx + 8]
cmp eax, dword [ecx + 0xc]
jae 0x4e4aaf
movzx eax, word [eax]
mov word [esp + 0x10], ax
cmp word [esp + 0x10], 0xffff
je 0x4e4662
movzx eax, word [esp + 0x10]
mov word [esp + 0x94], ax
jmp 0x4e4110
mov eax, dword [ecx + 8]
cmp eax, dword [ecx + 0xc]
jae 0x4e4b83
movzx eax, word [eax]
cmp ax, 0xffff
je 0x4e4465
mov word [esp + 0x9c], ax
xor eax, eax
jmp 0x4e42c4
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4e4a78
movsx eax, byte [esp + 0x24]
lea ecx, [esp + 0x7c]
mov dword [esp + 0x40], 1
mov dword [esp], eax
call fcn.00504ae0
sub esp, 4
mov dword [esp + 0x24], 0
jmp 0x4e4253
mov dword [esp + 0x90], 0
mov byte [esp + 0x10], 1
jmp 0x4e42a4
mov dword [esp + 0x98], 0
mov eax, 1
jmp 0x4e42c4
mov word [esp + 0x10], 0xffff
jmp 0x4e4110
cmp byte [esp + 0x39], 0
mov dword [esp + 0x20], 0
mov byte [esp + 0x38], 0
jne 0x4e4156
movzx edx, word [esp + 0x2c]
add edx, 0x30
mov word [esp + 0x30], dx
nop
lea esi, [esi]
cmp dword [esp + 0x2c], 0xa
ja 0x4e45e0
cmp word [esp + 0x10], 0x2f
jbe 0x4e4156
movzx eax, word [esp + 0x10]
cmp word [esp + 0x30], ax
jbe 0x4e4156
sub eax, 0x30
mov edx, dword [esp + 0x20]
cmp dword [esp + 0x34], edx
jb 0x4e4630
imul edx, dword [esp + 0x28]
mov ecx, eax
not ecx
cmp ecx, edx
setb cl
add eax, edx
or byte [esp + 0x38], cl
mov ecx, dword [esp + 0x90]
add dword [esp + 0x24], 1
mov dword [esp + 0x20], eax
test ecx, ecx
je 0x4e4644
mov eax, dword [ecx + 8]
cmp eax, dword [ecx + 0xc]
jae 0x4e4a82
add eax, 2
mov dword [ecx + 8], eax
mov word [esp + 0x94], 0xffff
mov eax, dword [ecx + 8]
cmp eax, dword [ecx + 0xc]
jae 0x4e4b97
movzx eax, word [eax]
cmp ax, 0xffff
je 0x4e46d0
mov word [esp + 0x94], ax
mov byte [esp + 0x10], 0
mov ecx, dword [esp + 0x98]
test ecx, ecx
je 0x4e4658
xor eax, eax
cmp word [esp + 0x9c], 0xffff
je 0x4e4690
cmp al, byte [esp + 0x10]
je 0x4e42ce
mov ecx, dword [esp + 0x90]
test ecx, ecx
je 0x4e4700
movzx eax, word [esp + 0x94]
cmp ax, 0xffff
mov word [esp + 0x10], ax
jne 0x4e44b0
mov eax, dword [ecx + 8]
cmp eax, dword [ecx + 0xc]
jae 0x4e4af0
movzx eax, word [eax]
mov word [esp + 0x10], ax
cmp word [esp + 0x10], 0xffff
je 0x4e470c
movzx eax, word [esp + 0x10]
cmp dword [esp + 0x2c], 0xa
mov word [esp + 0x94], ax
jbe 0x4e44bb
nop
movzx eax, word [esp + 0x10]
sub eax, 0x30
cmp ax, 9
jbe 0x4e46b4
movzx eax, word [esp + 0x10]
sub eax, 0x61
cmp ax, 5
jbe 0x4e46c0
movzx eax, word [esp + 0x10]
sub eax, 0x41
cmp ax, 5
ja 0x4e4156
movzx eax, word [esp + 0x10]
mov edx, dword [esp + 0x20]
sub eax, 0x37
cmp dword [esp + 0x34], edx
jae 0x4e44e8
lea esi, [esi]
mov ecx, dword [esp + 0x90]
mov byte [esp + 0x38], 1
test ecx, ecx
jne 0x4e4514
mov ecx, dword [esp + 0x98]
mov byte [esp + 0x10], 1
test ecx, ecx
jne 0x4e4565
mov eax, 1
jmp 0x4e4576
mov dword [esp + 0x90], 0
jmp 0x4e4110
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0xa8]
neg edx
cmp byte [esp + 0x3b], 0
cmove edx, dword [esp + 0x20]
mov dword [ecx], edx
jmp 0x4e41a4
mov eax, dword [ecx + 8]
cmp eax, dword [ecx + 0xc]
jae 0x4e4b09
movzx eax, word [eax]
cmp ax, 0xffff
je 0x4e46e5
mov word [esp + 0x9c], ax
xor eax, eax
jmp 0x4e4576
movzx eax, word [esp + 0x10]
jmp 0x4e44d7
movzx eax, word [esp + 0x10]
sub eax, 0x57
jmp 0x4e44da
mov dword [esp + 0x90], 0
mov byte [esp + 0x10], 1
jmp 0x4e4556
mov dword [esp + 0x98], 0
mov eax, 1
jmp 0x4e4576
mov word [esp + 0x10], 0xffff
jmp 0x4e44b0
mov dword [esp + 0x90], 0
jmp 0x4e44b0
mov dword [esp], 0x20
lea ecx, [esp + 0x7c]
mov dword [esp + 0x40], 1
call fcn.00504870
sub esp, 4
jmp 0x4e40cb
lea ecx, [esp + 0x90]
call fcn.004da2a0
mov edx, dword [esp + 0x1c]
cmp word [edx + 0x70], ax
mov word [esp + 0x10], ax
sete byte [esp + 0x3b]
je 0x4e488a
cmp word [edx + 0x72], ax
je 0x4e488a
mov edx, dword [esp + 0x1c]
movzx eax, byte [edx + 0x10]
mov dword [esp + 0x24], 0
mov byte [esp + 0x3a], 0
nop
test al, al
je 0x4e4797
mov edx, dword [esp + 0x1c]
movzx ecx, word [esp + 0x10]
cmp word [edx + 0x26], cx
je 0x4e40a4
mov edx, dword [esp + 0x1c]
movzx ecx, word [esp + 0x10]
cmp word [edx + 0x24], cx
je 0x4e40a4
cmp word [edx + 0x78], cx
je 0x4e4920
cmp byte [esp + 0x3a], 0
je 0x4e40a4
mov edx, dword [esp + 0x1c]
movzx ecx, word [esp + 0x10]
cmp word [edx + 0x74], cx
je 0x4e47d8
cmp word [edx + 0x76], cx
jne 0x4e40a4
mov edx, dword [esp + 0x20]
test edx, edx
je 0x4e48f1
cmp dword [esp + 0x28], 0x10
jne 0x4e40b3
mov dword [esp + 0x24], 0
mov byte [esp + 0x3a], 0
mov ecx, dword [esp + 0x90]
test ecx, ecx
je 0x4e4915
mov eax, dword [ecx + 8]
cmp eax, dword [ecx + 0xc]
jae 0x4e4bec
add eax, 2
mov dword [ecx + 8], eax
mov word [esp + 0x94], 0xffff
mov eax, dword [ecx + 8]
cmp eax, dword [ecx + 0xc]
jae 0x4e4bd8
movzx eax, word [eax]
cmp ax, 0xffff
je 0x4e49c4
mov word [esp + 0x94], ax
mov byte [esp + 0x38], 0
mov ecx, dword [esp + 0x98]
mov eax, 1
test ecx, ecx
je 0x4e486e
xor eax, eax
cmp word [esp + 0x9c], 0xffff
je 0x4e49a0
cmp al, byte [esp + 0x38]
jne 0x4e4960
mov edx, dword [esp + 0x1c]
mov byte [esp + 0x39], 1
movzx eax, byte [edx + 0x10]
jmp 0x4e40a4
mov ecx, dword [esp + 0x1c]
movzx eax, byte [ecx + 0x10]
test al, al
je 0x4e48a5
movzx edx, word [esp + 0x10]
cmp word [ecx + 0x26], dx
je 0x4e4772
mov ecx, dword [esp + 0x1c]
movzx edx, word [esp + 0x10]
cmp word [ecx + 0x24], dx
je 0x4e4772
lea ecx, [esp + 0x90]
mov dword [esp + 0x40], 0xffffffff
call fcn.00521570
lea ecx, [esp + 0x98]
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.0052e150
test al, al
jne 0x4e4a5a
mov byte [esp + 0x39], 1
jmp 0x4e408f
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x24], 0
mov byte [esp + 0x3a], 0
mov dword [esp + 0x28], 0x10
test ecx, ecx
jne 0x4e480b
mov byte [esp + 0x38], 1
jmp 0x4e484d
cmp dword [esp + 0x28], 0xa
je 0x4e4932
cmp byte [esp + 0x3a], 0
jne 0x4e47bf
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x4e4a23
add dword [esp + 0x24], 1
mov eax, 0
cmp dword [esp + 0x28], 8
cmovne eax, dword [esp + 0x24]
mov byte [esp + 0x3a], 1
mov dword [esp + 0x24], eax
jmp 0x4e47fc
mov ecx, dword [esp + 0x90]
mov word [esp + 0x10], 0xffff
test ecx, ecx
je 0x4e4985
movzx eax, word [esp + 0x94]
cmp ax, 0xffff
mov word [esp + 0x10], ax
je 0x4e49f5
cmp byte [esp + 0x3a], 0
je 0x4e4a4d
mov ecx, dword [esp + 0x1c]
movzx eax, byte [ecx + 0x10]
jmp 0x4e4780
mov eax, dword [ecx + 8]
cmp eax, dword [ecx + 0xc]
jae 0x4e4bc4
movzx eax, word [eax]
cmp ax, 0xffff
je 0x4e49e0
mov word [esp + 0x9c], ax
xor eax, eax
jmp 0x4e486e
mov dword [esp + 0x90], 0
mov byte [esp + 0x38], 1
jmp 0x4e484d
mov dword [esp + 0x98], 0
mov eax, 1
jmp 0x4e486e
mov eax, dword [ecx + 8]
cmp eax, dword [ecx + 0xc]
jae 0x4e4bab
movzx eax, word [eax]
mov word [esp + 0x10], ax
cmp word [esp + 0x10], 0xffff
je 0x4e4a3d
movzx eax, word [esp + 0x10]
mov word [esp + 0x94], ax
jmp 0x4e4985
mov dword [esp + 0x24], 0
mov byte [esp + 0x3a], 1
mov dword [esp + 0x28], 8
jmp 0x4e47fc
mov dword [esp + 0x90], 0
jmp 0x4e4985
mov edx, dword [esp + 0x1c]
movzx eax, byte [edx + 0x10]
jmp 0x4e40a4
lea ecx, [esp + 0x90]
call fcn.004da2a0
mov edx, dword [esp + 0x1c]
mov word [esp + 0x10], ax
movzx eax, byte [edx + 0x10]
jmp 0x4e4772
mov byte [esp + 0x10], 1
jmp 0x4e415b
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
mov dword [esp + 0x40], 1
call eax
mov ecx, dword [esp + 0x90]
mov word [esp + 0x94], 0xffff
test ecx, ecx
je 0x4e4644
jmp 0x4e4530
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
mov dword [esp + 0x40], 1
call eax
mov word [esp + 0x10], ax
jmp 0x4e43cd
sub eax, 4
call fcn.00531a28
test eax, eax
jg 0x4e41de
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x7b]
mov dword [esp], eax
call fcn.00503280
sub esp, 4
jmp 0x4e41de
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
mov dword [esp + 0x40], 1
call eax
mov word [esp + 0x10], ax
jmp 0x4e45ba
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
mov dword [esp + 0x40], 1
call eax
jmp 0x4e469f
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
mov dword [esp + 0x40], 1
call eax
jmp 0x4e428d
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
mov dword [esp + 0x40], 1
call eax
mov ecx, dword [esp + 0x90]
mov word [esp + 0x94], 0xffff
test ecx, ecx
je 0x4e4370
jmp 0x4e427e
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
mov dword [esp + 0x40], 1
call eax
jmp 0x4e43ff
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
mov dword [esp + 0x40], 1
call eax
jmp 0x4e453f
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
mov dword [esp + 0x40], 0xffffffff
call eax
mov word [esp + 0x10], ax
jmp 0x4e4a09
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
mov dword [esp + 0x40], 0xffffffff
call eax
jmp 0x4e49af
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
mov dword [esp + 0x40], 0xffffffff
call eax
jmp 0x4e4836
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
mov dword [esp + 0x40], 0xffffffff
call eax
mov ecx, dword [esp + 0x90]
mov word [esp + 0x94], 0xffff
test ecx, ecx
je 0x4e4915
jmp 0x4e4827