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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x150
push ebx
mov ebx, edx
mov eax, ecx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 8], eax
push esi
push edi
test ebx, ebx
je 0x4481ff
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov eax, dword [esi]
mov ecx, dword [esi + 0x50]
mov dword [ebp - 0x24], ecx
cmp eax, dword [esi + 4]
jae 0x450158
mov edx, dword [ebp - 8]
inc eax
mov dword [esi], eax
mov eax, dword [ebp + 0x18]
cmp eax, dword [esi + 8]
jae 0x4153f3
cmp dword [esi + 0x9c], 2
je 0x448230
movzx ecx, word [ebx]
mov edi, ecx
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x2c], 0
cmp edi, 0xa1
ja case.0x414a45.98
movzx eax, byte [edi + 0x41554c]
jmp dword [eax*4 + 0x415400]
movzx eax, word [ebx + 2]
mov edi, ebx
add eax, eax
mov ecx, 0x88
sub edi, eax
mov dword [ebp - 0x20], edi
movzx eax, word [edi]
cmp ax, cx
jae 0x448ec4
mov ecx, 0x81
cmp ax, cx
je 0x448ec4
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
cmp eax, 0x7d
jb 0x414a93
mov dword [ebp - 0x14], 0x80
cmp ax, word [ebp - 0x14]
jbe 0x44e49f
mov dword [ebp - 0x14], 0x82
cmp ax, word [ebp - 0x14]
je 0x44e49f
mov dword [ebp - 0x14], 0x85
cmp ax, word [ebp - 0x14]
je 0x414e10
mov dword [ebp - 0x14], 0x8a
cmp ax, word [ebp - 0x14]
je 0x414e10
mov dword [ebp - 0x14], 0x86
cmp ax, word [ebp - 0x14]
je 0x414e10
mov dword [ebp - 0x14], 0x8b
cmp ax, word [ebp - 0x14]
je 0x414e10
movzx eax, word [ebx]
cmp eax, 0x78
jne 0x448f36
mov eax, 0x81
cmp word [edi], ax
je 0x44e445
add ebx, 4
mov dword [ebp - 0x30], ebx
jmp 0x414a1f
mov edx, dword [ebp - 8]
mov ebx, dword [ebp + 8]
cmp edx, ebx
je 0x450112
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x84], edx
mov dword [esi + 0x90], eax
mov dword [esi + 0x80], ebx
test edi, edi
jne 0x4153df
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp edi, 0x88
jae 0x44e2fc
cmp edi, 0x81
je 0x44e2fc
cmp dword [esi + 0x70], 0
jne 0x415302
movzx eax, word [ebx + 2]
cmp word [ebx + eax*2], 0x77
je 0x415302
movzx eax, word [ebx]
movzx eax, byte [eax + 0x4a5750]
lea ebx, [ebx + eax*2]
mov dword [ebp - 0x30], ebx
mov edx, dword [ebp - 8]
mov eax, dword [esi + 0x50]
mov dword [ebp - 0x24], eax
mov eax, dword [esi]
cmp eax, dword [esi + 4]
jb 0x414a03
jmp 0x450158
mov edi, dword [esi + 0x7c]
mov eax, dword [ebp - 8]
mov dword [ebp - 0x28], edi
cmp eax, edi
jae 0x44e4bf
movzx ecx, word [eax]
add eax, 2
cmp dword [ebp - 0x24], 0
mov dword [ebp - 8], eax
je 0x414bd0
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
je 0x449dff
mov eax, ecx
cdq
and edx, 0x7f
add eax, edx
sar eax, 7
movzx eax, byte [eax + 0x4b3b40]
shl eax, 7
and ecx, 0x8000007f
jns 0x414bf2
dec ecx
or ecx, 0xffffff80
inc ecx
add eax, ecx
movzx eax, word [eax*2 + 0x4a5840]
movzx eax, byte [eax*8 + 0x4a2f52]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
cmp eax, edi
jae 0x414c8d
mov ebx, dword [ebp - 0x28]
mov esi, eax
cmp dword [ebp - 0x24], 0
mov edi, 1
movzx ecx, word [esi]
je 0x414c33
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
je 0x449e24
mov eax, ecx
cdq
and edx, 0x7f
add eax, edx
sar eax, 7
movzx eax, byte [eax + 0x4b3b40]
shl eax, 7
and ecx, 0x8000007f
jns 0x414c55
dec ecx
or ecx, 0xffffff80
inc ecx
mov edx, dword [ebp - 0x14]
add eax, ecx
movzx eax, word [eax*2 + 0x4a5840]
movzx ecx, byte [eax*8 + 0x4a2f52]
mov eax, 1
shl eax, cl
test dword [edx*4 + 0x4a5800], eax
jne 0x414d87
mov ebx, dword [ebp - 0x30]
mov edi, dword [ebp - 0x28]
mov dword [ebp - 8], esi
mov esi, dword [ebp + 0x10]
mov eax, dword [ebp - 8]
cmp dword [esi + 0x8c], 0
jne 0x449e48
add ebx, 2
mov dword [ebp - 0x30], ebx
mov edx, dword [ebp - 8]
jmp 0x414a1f
movzx ecx, word [ebx + 0x22]
lea eax, [ebx + 2]
add ebx, 0x22
mov dword [ebp - 0x20], eax
mov edx, ecx
mov dword [ebp - 0x30], ebx
mov eax, edx
cmp eax, 0x6d
jle 0x4151c2
mov edx, dword [ebp - 0x2c]
mov ecx, 1
mov eax, ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x24], 0
je 0x44a10d
mov dword [ebp - 0x28], 1
cmp eax, 1
jl 0x415221
nop
mov eax, dword [ebp - 8]
cmp eax, dword [esi + 0x7c]
jae 0x44e4bf
movzx ecx, word [eax]
add eax, 2
mov dword [ebp - 8], eax
mov eax, ecx
and eax, 0xfc00
mov dword [ebp - 0x14], ecx
cmp eax, 0xd800
je 0x44a0d7
cmp ecx, 0xff
ja 0x44a0ff
mov esi, dword [ebp - 0x20]
and ecx, 7
mov eax, 1
shl eax, cl
mov ecx, dword [ebp - 0x14]
shr ecx, 3
test byte [ecx + esi], al
mov esi, dword [ebp + 0x10]
je case.0x414a45.157
mov ecx, dword [ebp - 0x28]
inc ecx
mov dword [ebp - 0x28], ecx
cmp ecx, dword [ebp - 0x10]
jle 0x414cf0
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x1c]
cmp dword [ebp - 0x10], ecx
je 0x414ca0
test edx, edx
jne 0x44e650
mov ecx, eax
mov dword [ebp - 0x2c], ecx
cmp dword [ebp - 0x24], edx
je 0x44a1e0
mov ecx, dword [ebp - 0x1c]
cmp dword [ebp - 0x10], ecx
jge 0x415280
jmp 0x415233
lea esi, [esi + edi*2]
mov dword [ebp - 0x14], ecx
cmp esi, ebx
jb 0x414c13
jmp 0x414c7e
mov eax, dword [ebp - 8]
cmp eax, dword [esi + 0x7c]
jae 0x44e4bf
cmp dword [ebp - 0x24], 0
je 0x44a611
movzx edi, word [ebx + 2]
add ebx, 2
mov eax, edi
mov edx, 1
and eax, 0xfc00
cmp eax, 0xd800
je 0x44a55e
mov eax, dword [ebp - 8]
movzx ecx, word [eax]
cmp edi, 0x80
jae 0x44a582
cmp ecx, 0xff
ja 0x414def
mov eax, dword [esi + 0x3c]
movzx ecx, byte [eax + ecx]
mov eax, dword [esi + 0x3c]
movzx eax, byte [eax + edi]
cmp eax, ecx
jne case.0x414a45.157
add ebx, 2
add dword [ebp - 8], 2
mov edx, dword [ebp - 8]
mov dword [ebp - 0x30], ebx
jmp 0x414a1f
movzx ecx, word [edi + 4]
mov eax, dword [esi + 0xa8]
mov dword [ebp - 0x28], ecx
lea edi, [ecx + ecx]
mov dword [ebp - 0x14], edi
test eax, eax
jne 0x448eda
mov eax, dword [esi + 0x94]
and eax, 0xffff0000
or eax, ecx
mov dword [esi + 0x94], eax
cmp edi, dword [esi + 0x14]
jge 0x448eff
mov ecx, dword [ebp + 0xc]
cmp edi, ecx
jg 0x448f0f
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
sub eax, dword [ebp - 0x28]
mov edx, dword [ebp - 8]
mov eax, dword [ecx + eax*4]
mov dword [ecx + edi*4], eax
mov ecx, dword [ebp - 8]
sub ecx, dword [esi + 0x78]
mov eax, dword [esi + 0xc]
sar ecx, 1
mov dword [eax + edi*4 + 4], ecx
cmp dword [ebp + 0xc], edi
jg 0x414e7e
lea eax, [edi + 2]
mov dword [ebp + 0xc], eax
mov edi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
jmp 0x414ae8
mov eax, dword [ebp - 8]
cmp eax, dword [esi + 0x7c]
jae 0x44e4bf
movzx ecx, word [eax]
add eax, 2
cmp dword [ebp - 0x24], 0
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], eax
je 0x414eb9
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
je 0x449bc7
mov eax, ecx
cdq
and edx, 0x7f
add eax, edx
mov edx, dword [ebp - 0x14]
sar eax, 7
movzx ecx, byte [eax + 0x4b3b40]
mov eax, edx
shl ecx, 7
and eax, 0x8000007f
jns 0x414edf
dec eax
or eax, 0xffffff80
inc eax
add ecx, eax
movzx eax, word [ebx + 2]
movzx ecx, word [ecx*2 + 0x4a5840]
mov dword [ebp - 0x14], ecx
cmp eax, 9
jne 0x449bef
movzx eax, word [ebx + 4]
mov ecx, dword [eax*4 + 0x4a45d0]
lea eax, [eax*4 + 0x4a45d0]
cmp edx, ecx
jb 0x449df1
lea eax, [eax + 4]
cmp edx, ecx
je 0x414f25
mov ecx, dword [eax]
cmp edx, ecx
jae 0x414f13
jmp 0x449df1
cmp edi, 0x10
jne case.0x414a45.157
mov edx, dword [ebp - 8]
add ebx, 6
mov dword [ebp - 0x30], ebx
jmp 0x414a1f
cmp dword [ebp - 0x24], 0
je 0x44a52f
mov ax, word [ebx + 2]
add ebx, 2
mov ecx, 0xfc00
mov dword [ebp - 0x30], ebx
and ax, cx
mov edi, 1
mov ecx, 0xd800
cmp ax, cx
je 0x4153c7
mov eax, dword [esi + 0x7c]
mov edx, dword [ebp - 8]
sub eax, edx
sar eax, 1
cmp edi, eax
jg 0x44e87e
test edi, edi
jle 0x414ca0
mov cx, word [ebx]
dec edi
mov ax, word [edx]
add ebx, 2
add edx, 2
mov dword [ebp - 0x30], ebx
mov dword [ebp - 8], edx
cmp cx, ax
jne case.0x414a45.157
test edi, edi
jle 0x414ca0
jmp 0x414f85
movzx edx, word [ebx + 4]
mov dword [ebp - 0x28], edx
lea eax, [edx + edx]
mov dword [ebp - 0x14], eax
cmp eax, dword [esi + 0x14]
jge case.0x414a45.129
mov ecx, dword [esi + 0xc]
mov edx, dword [ebp - 0x14]
mov eax, dword [ecx + eax*4]
mov dword [ebp - 0x3c], eax
mov eax, dword [ecx + edx*4 + 4]
mov dword [ebp - 0x38], eax
mov eax, dword [esi + 0x10]
sub eax, dword [ebp - 0x28]
lea ecx, [ecx + eax*4]
mov eax, dword [ecx]
mov dword [ebp - 0x34], eax
mov eax, dword [esi + 0x94]
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 0xb0]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 8]
sub eax, dword [esi + 0x78]
sar eax, 1
mov dword [ecx], eax
mov edi, edi
cmp edi, 0x88
jae 0x44fe05
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp - 8]
inc eax
push eax
push dword [ebp + 0x14]
movzx eax, word [ebx]
push esi
push dword [ebp + 0xc]
movzx eax, byte [eax + 0x4a5750]
push dword [ebp + 8]
lea edx, [ebx + eax*2]
call fcn.004149c0
mov edx, eax
add esp, 0x14
cmp edx, 0xfffffc1b
je 0x44fe5c
cmp edx, 0xfffffc20
je 0x44fe14
test edx, edx
je 0x44fe39
mov eax, edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [edi - 0x55]
add ebx, 2
test cl, 1
je 0x4153d8
mov eax, 1
movsx edi, byte [ecx + 0x4a573c]
movsx edx, byte [ecx + 0x4a5730]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x18], edi
test edi, edi
jne 0x41509d
mov dword [ebp - 0x18], 0x7fffffff
movzx edi, word [ebx]
add ebx, 2
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x30], ebx
cmp edi, 0x10
je 0x44b3f4
cmp edi, 0xf
je 0x44b3eb
or ecx, 0xffffffff
mov dword [ebp - 0x10], ecx
test edx, edx
jg 0x44b413
mov edi, dword [ebp - 8]
cmp edx, dword [ebp - 0x18]
je 0x414ca0
test eax, eax
je 0x44c995
test ecx, ecx
jns 0x44ec6a
mov eax, dword [ebp + 0x18]
mov edx, ebx
inc eax
mov ecx, edi
push eax
push dword [ebp + 0x14]
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004149c0
add esp, 0x14
cmp dword [ebp - 0x1c], 0x16
je 0x44f59a
cmp dword [ebp - 0x24], 0
je 0x44fa72
test eax, eax
jne 0x414b3d
lea esp, [esp]
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp - 0x18]
jge case.0x414a45.157
mov ecx, dword [esi + 0x7c]
cmp edi, ecx
jae 0x44e866
cmp dword [ebp - 0x1c], 0xc
jne 0x415165
mov edx, dword [esi + 0x18]
test edx, edx
je 0x44f723
push dword [ebp - 0x24]
lea eax, [esi + 0x1c]
push eax
push ecx
mov ecx, edi
call fcn.00415e9f
add esp, 0xc
test eax, eax
jne case.0x414a45.157
mov edx, dword [ebp - 0xc]
movzx ecx, word [edi]
add edi, 2
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
je 0x44f75c
mov eax, dword [ebp - 0x1c]
cmp eax, 0xc
jne 0x44f77d
cmp dword [esi + 0x8c], 0
jne 0x44fa30
mov eax, dword [ebp + 0x18]
inc edx
inc eax
mov dword [ebp - 0xc], edx
push eax
push dword [ebp + 0x14]
mov edx, ebx
mov ecx, edi
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004149c0
add esp, 0x14
test eax, eax
jne 0x414b3d
jmp 0x415120
sub eax, 0x62
cmp eax, 0xb
ja case.default.0x4151d5
movzx eax, byte [eax + 0x4155f8]
jmp dword [eax*4 + 0x4155f0]
lea eax, [edx - 0x62]
add ebx, 2
mov dword [ebp - 0x30], ebx
cmp eax, 8
jb 0x415379
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x34], 1
movsx ecx, byte [eax + 0x4a5730]
mov dword [ebp - 0x10], ecx
movsx ecx, byte [eax + 0x4a573c]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], ecx
test ecx, ecx
jne 0x414cd5
mov ecx, 0x7fffffff
invalid
invalid