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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f6af1
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x118], eax
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x130]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x1c], ebx
mov ecx, dword [ebp + 0xc]
xorps xmm0, xmm0
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x78]
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x24], edi
movq qword [esp + 0x7c], xmm0
mov dword [esp + 0x84], 0
call fcn.00412780
push 0x5c
push 0x2f
lea ecx, [esp + 0x80]
mov dword [esp + 0x140], 0
call fcn.00412f30
mov byte [esi], 0
mov byte [edi], 0
mov al, byte [ebx + 0x164]
mov dword [esp + 0x38], ebx
mov byte [esp + 0x16], al
mov byte [esp + 0x34], al
mov byte [ebx + 0x164], 0
mov al, byte [ebx + 0x165]
mov byte [esp + 0x18], al
mov byte [esp + 0x2c], al
mov al, byte [ebx + 0x166]
mov dword [esp + 0x30], ebx
mov byte [esp + 0x19], al
mov byte [esp + 0x2d], al
mov word [ebx + 0x165], 0
mov byte [esp + 0x138], 2
mov esi, 2
cmp dword [ebx + 0xd8], 0
je 0x4b2cea
lea esp, [esp]
mov ecx, dword [ebx + 0xd8]
mov eax, dword [ebx + 0xd4]
mov esi, dword [esp + 0x78]
mov edi, dword [eax + ecx*4 - 4]
mov ecx, dword [edi + 0x90]
movzx edx, word [ecx]
add ecx, 2
test dx, dx
je 0x4b2a8b
movzx eax, word [esi]
lea esi, [esi + 2]
cmp ax, dx
jne 0x4b2ae9
movzx edx, word [ecx]
add ecx, 2
test dx, dx
jne 0x4b2a75
mov eax, dword [edi + 0x94]
xorps xmm0, xmm0
mov ecx, dword [esp + 0x78]
movq qword [esp + 0x5c], xmm0
mov dword [esp + 0x64], 0
lea eax, [ecx + eax*2]
push eax
lea ecx, [esp + 0x60]
call fcn.00412680
mov byte [esp + 0x138], 3
mov esi, dword [esp + 0x60]
mov edi, dword [esp + 0x5c]
mov dword [esp + 0x68], esi
test esi, esi
je 0x4b2b20
movzx eax, word [edi]
cmp eax, 0x5c
je 0x4b2b02
cmp eax, 0x2f
je 0x4b2b02
push edi
mov byte [esp + 0x13c], 2
call fcn.004df97b
add esp, 4
mov ecx, ebx
call fcn.004b5500
cmp dword [ebx + 0xd8], 0
jne 0x4b2a50
jmp 0x4b2cd8
dec esi
mov dword [esp + 0x68], esi
lea eax, [esi*2 + 2]
push eax
lea eax, [edi + 2]
push eax
push edi
call fcn.004dfa50
add esp, 0xc
mov dword [esp + 0x60], esi
inc esi
mov dword [esp + 0x54], 0
xor ecx, ecx
mov eax, esi
mov edx, 2
xorps xmm0, xmm0
mul edx
movq qword [esp + 0x4c], xmm0
mov dword [esp + 0x4c], 0
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004df9b3
mov ecx, eax
add esp, 4
mov dword [esp + 0x48], ecx
test ecx, ecx
jne 0x4b2b72
mov byte [esp + 0x1b], al
lea eax, [esp + 0x1b]
push 0x51c2c8
push eax
call fcn.004ea58e
mov eax, dword [esp + 0x68]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
lea eax, [esi + esi]
push eax
push edi
push ecx
mov dword [esp + 0x58], ecx
call fcn.004e4930
add esp, 0xc
mov byte [esp + 0x138], 4
mov esi, dword [esp + 0x68]
test esi, esi
je 0x4b2bf0
mov eax, dword [esp + 0x48]
movzx ecx, word [eax + esi*2 - 2]
cmp ecx, 0x5c
je 0x4b2bf0
cmp ecx, 0x2f
je 0x4b2bf0
mov eax, esi
lea ecx, [esp + 0x4c]
shr eax, 1
add esi, 0x10
add eax, esi
and eax, 0xfffffff0
dec eax
push eax
call fcn.00412180
mov eax, dword [esp + 0x50]
mov edx, 0x5c
mov ecx, dword [esp + 0x4c]
lea esi, [eax + 1]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x68], esi
mov dword [esp + 0x50], esi
mov word [ecx + eax*2], dx
xor eax, eax
mov word [ecx + esi*2], ax
mov edx, dword [ebx + 0xe4]
lea ecx, [esp + 0x6c]
xorps xmm0, xmm0
mov dword [esp + 0x74], 0
movq qword [esp + 0x6c], xmm0
call fcn.004b3d50
mov byte [esp + 0x138], 5
mov edi, dword [esp + 0x6c]
cmp esi, dword [esp + 0x70]
jne 0x4b2c57
mov eax, dword [esp + 0x48]
mov ecx, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4b2c4e
test dx, dx
je 0x4b2c4a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4b2c4e
add eax, 4
add ecx, 4
test dx, dx
jne 0x4b2c28
xor eax, eax
jmp 0x4b2c53
sbb eax, eax
or eax, 1
test eax, eax
je 0x4b2c9f
movzx ecx, word [edi]
lea edx, [edi + 2]
mov eax, dword [esp + 0x5c]
mov esi, eax
test cx, cx
je 0x4b2c8e
jmp 0x4b2c70
movzx eax, word [esi]
lea esi, [esi + 2]
cmp ax, cx
jne 0x4b2d73
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x4b2c70
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x70]
lea eax, [eax + ecx*2]
push eax
lea ecx, [esp + 0x7c]
call fcn.00412850
push edi
mov byte [esp + 0x13c], 4
call fcn.004df97b
add esp, 4
mov byte [esp + 0x138], 3
push dword [esp + 0x48]
call fcn.004df97b
add esp, 4
mov byte [esp + 0x138], 2
push dword [esp + 0x5c]
call fcn.004df97b
add esp, 4
cmp dword [ebx + 0xd8], 0
mov esi, 2
jne 0x4b3762
mov al, byte [ebx + 0xc5]
mov ecx, ebx
mov byte [ebx + 0xc4], al
call fcn.004b2670
mov eax, dword [ebx + 0xe0]
test eax, eax
je 0x4b2d1c
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test eax, eax
je 0x4b2d1c
mov dword [ebx + 0xe0], 0
mov edi, dword [esp + 0x7c]
xor ecx, ecx
xorps xmm0, xmm0
mov dword [esp + 0x74], 0
movq qword [esp + 0x6c], xmm0
mov dword [esp + 0x6c], 0
lea ebx, [edi + 1]
mov dword [esp + 0x58], edi
mov eax, ebx
mul esi
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004df9b3
mov esi, eax
add esp, 4
test esi, esi
jne 0x4b2e06
mov byte [esp + 0x1b], al
lea eax, [esp + 0x1b]
push 0x51c2c8
push eax
call fcn.004ea58e
mov dword [esp + 0x58], 0
mov byte [esp + 0x138], 6
lea edx, [esp + 0x58]
mov eax, dword [ebx + 0xe4]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
test eax, eax
jne 0x4b2def
mov eax, dword [esp + 0x58]
test eax, eax
je 0x4b2dd8
push eax
mov ecx, ebx
call fcn.004b2750
mov byte [esp + 0x138], 5
mov eax, dword [esp + 0x58]
test eax, eax
je 0x4b2dbe
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push edi
mov byte [esp + 0x13c], 4
call fcn.004df97b
mov esi, dword [esp + 0x6c]
add esp, 4
jmp 0x4b2bf0
push 0x51c2b0
lea eax, [esp + 0x24]
mov dword [esp + 0x24], 0x1335376
push eax
call fcn.004ea58e
push 0x51c2b0
lea eax, [esp + 0x24]
mov dword [esp + 0x24], 0x1335376
push eax
call fcn.004ea58e
mov eax, dword [esp + 0x58]
mov dword [esp + 0x74], eax
lea eax, [ebx + ebx]
push eax
push dword [esp + 0x7c]
mov dword [esp + 0x74], esi
push esi
mov dword [esp + 0x7c], edi
call fcn.004e4930
add esp, 0xc
mov byte [esp + 0x138], 7
movzx ebx, word [esi]
cmp ebx, 0x5c
je 0x4b2e3c
cmp ebx, 0x2f
jne 0x4b2e66
movzx eax, word [esi + 2]
cmp eax, 0x5c
je 0x4b2e4a
cmp eax, 0x2f
jne 0x4b2e66
cmp word [esi + 4], 0x2e
jne 0x4b2e66
movzx eax, word [esi + 6]
cmp eax, 0x5c
je 0x4b2e5f
cmp eax, 0x2f
jne 0x4b2e66
mov eax, 4
jmp 0x4b2eab
cmp ebx, 0x5c
je 0x4b2e70
cmp ebx, 0x2f
jne 0x4b2e9c
movzx eax, word [esi + 2]
cmp eax, 0x5c
je 0x4b2e7e
cmp eax, 0x2f
jne 0x4b2e9c
cmp word [esi + 4], 0x3f
jne 0x4b2e9c
movzx eax, word [esi + 6]
cmp eax, 0x5c
je 0x4b2e93
cmp eax, 0x2f
jne 0x4b2e9c
mov ecx, esi
call fcn.0041b740
jmp 0x4b2ea3
mov ecx, esi
call fcn.0041b6d0
test eax, eax
je 0x4b2f8b
cmp word [esi + eax*2], 0
je 0x4b2f8b
mov ecx, dword [esp + 0x58]
test ecx, ecx
je 0x4b2f96
cmp word [esi + ecx*2 - 2], 0x3a
jne 0x4b2f96
cmp ecx, 2
jne 0x4b2ef2
cmp ebx, 0x61
jb 0x4b2edd
cmp ebx, 0x7a
jbe 0x4b2ee7
cmp ebx, 0x41
jb 0x4b2ef2
cmp ebx, 0x5a
ja 0x4b2ef2
cmp word [esi + 2], 0x3a
je 0x4b2f96
lea eax, [esp + 0x6c]
mov dword [esp + 0x54], 0
xorps xmm0, xmm0
lea ecx, [esp + 0x4c]
push eax
movq qword [esp + 0x50], xmm0
call fcn.00412780
mov byte [esp + 0x138], 8
xor ecx, ecx
mov eax, dword [esp + 0x50]
mov ebx, dword [esp + 0x4c]
dec eax
mov dword [esp + 0x50], eax
mov word [ebx + eax*2], cx
lea ecx, [esp + 0xbc]
call fcn.00417b20
push ebx
lea ecx, [esp + 0xc0]
mov byte [esp + 0x13c], 9
call fcn.00419180
mov byte [esp + 0x138], 8
mov bl, al
push dword [esp + 0xe4]
call fcn.004df97b
add esp, 4
test bl, bl
je 0x4b2f75
xor edi, edi
xor eax, eax
mov dword [esp + 0x70], edi
mov word [esi], ax
mov byte [esp + 0x138], 7
push dword [esp + 0x4c]
call fcn.004df97b
add esp, 4
jmp 0x4b2f96
xor edi, edi
xor eax, eax
mov dword [esp + 0x70], edi
mov word [esi], ax
lea ecx, [esp + 0x84]
call fcn.00417b20
mov byte [esp + 0x138], 0xa
test edi, edi
je 0x4b3045
mov ebx, 3
jmp 0x4b2fc0
push esi
lea ecx, [esp + 0x88]
call fcn.00419180
test al, al
jne 0x4b3045
lea eax, [edi - 1]
movzx ecx, word [esi + eax*2]
lea eax, [esi + eax*2]
cmp ecx, 0x5c
je 0x4b2ff6
cmp cx, 0x2f
je 0x4b2ff6
cmp eax, esi
je 0x4b303a
movzx ecx, word [eax - 2]
sub eax, 2
cmp ecx, 0x5c
jne 0x4b2fe0
sub eax, esi
sar eax, 1
js 0x4b303a
cmp eax, 2
jne 0x4b3024
movzx ecx, word [esi]
cmp ecx, 0x61
jb 0x4b300e
cmp ecx, 0x7a
jbe 0x4b3018
cmp ecx, 0x41
jb 0x4b3024
cmp ecx, 0x5a
ja 0x4b3024
cmp word [esi + 2], 0x3a
jne 0x4b3024
cmp edi, ebx
cmova eax, ebx
cmp eax, edi
jae 0x4b3034
mov edi, eax
xor ecx, ecx
mov dword [esp + 0x70], edi
mov word [esi + eax*2], cx
test edi, edi
jne 0x4b2fc0
jmp 0x4b3045
xor edi, edi
xor eax, eax
mov dword [esp + 0x70], edi
mov word [esi], ax
mov ebx, dword [esp + 0x1c]
mov ecx, ebx
call fcn.004b2800
mov dword [esp + 0x48], 0
mov byte [esp + 0x138], 0xb
test edi, edi
jne 0x4b307f
mov eax, dword [ebx + 0xe4]
lea edx, [esp + 0x48]
mov edi, dword [esp + 0x78]
push edx
push edi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
jmp 0x4b36b7
mov eax, dword [esp + 0xa4]
shr eax, 4
test al, 1
je 0x4b32e6
lea ecx, [esp + 0x6c]
call fcn.004b28e0
test al, al
je 0x4b3281
xorps xmm0, xmm0
mov dword [esp + 0x64], 0
movq qword [esp + 0x5c], xmm0
push 8
mov dword [esp + 0x60], 0
call fcn.004df9b3
add esp, 4
test eax, eax
jne 0x4b30dc
mov byte [esp + 0x1a], al
lea eax, [esp + 0x1a]
push 0x51c2c8
push eax
call fcn.004ea58e
xor ecx, ecx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 3
mov word [eax], cx
mov byte [esp + 0x138], 0xc
xorps xmm0, xmm0
movq qword [esp + 0x4c], xmm0
push 8
mov dword [esp + 0x58], ecx
mov dword [esp + 0x50], ecx
call fcn.004df9b3
add esp, 4
test eax, eax
jne 0x4b312f
mov byte [esp + 0x17], al
lea eax, [esp + 0x17]
push 0x51c2c8
push eax
call fcn.004ea58e
xor ecx, ecx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 3
mov word [eax], cx
lea eax, [esp + 0x4c]
mov byte [esp + 0x138], 0xd
push eax
lea edx, [esp + 0x60]
mov ecx, esi
call fcn.00418320
lea ecx, [esp + 0x5c]
call fcn.004b28e0
test al, al
je 0x4b3216
mov byte [esp + 0x138], 0xc
push dword [esp + 0x4c]
call fcn.004df97b
add esp, 4
mov byte [esp + 0x138], 0xb
push dword [esp + 0x5c]
call fcn.004df97b
mov byte [esp + 0x13c], 0xa
add esp, 4
mov eax, dword [esp + 0x48]
test eax, eax
je 0x4b31af
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [esp + 0x138], 7
push dword [esp + 0xac]
call fcn.004df97b
add esp, 4
mov byte [esp + 0x138], 2
push esi
call fcn.004df97b
mov cl, byte [esp + 0x1c]
add esp, 4
mov byte [ebx + 0x165], cl
mov cl, byte [esp + 0x19]
mov byte [ebx + 0x166], cl
mov cl, byte [esp + 0x16]
mov dword [esp + 0x138], 0xffffffff
push dword [esp + 0x78]
mov byte [ebx + 0x164], cl
call fcn.004df97b
add esp, 4
mov eax, 0x80070057
jmp 0x4b39ea
lea eax, [esp + 0xac]
push eax
lea edx, [esp + 0x60]
lea ecx, [esp + 0x40]
call fcn.004124b0
push eax
lea ecx, [esp + 0x70]
mov byte [esp + 0x13c], 0xe
call fcn.004128e0
mov byte [esp + 0x138], 0xd
push dword [esp + 0x3c]
call fcn.004df97b
add esp, 4
mov byte [esp + 0x138], 0xc
push dword [esp + 0x4c]
call fcn.004df97b
add esp, 4
mov byte [esp + 0x138], 0xb
push dword [esp + 0x5c]
call fcn.004df97b
mov edi, dword [esp + 0x74]
add esp, 4
mov esi, dword [esp + 0x6c]
test edi, edi
je 0x4b32cf
movzx eax, word [esi + edi*2 - 2]
cmp eax, 0x5c
je 0x4b32cf
cmp eax, 0x2f
je 0x4b32cf
cmp dword [esp + 0x74], edi
jne 0x4b32b9
mov eax, edi
lea ecx, [esp + 0x6c]
shr eax, 1
add edi, 0x10
add eax, edi
and eax, 0xfffffff0
dec eax
push eax
call fcn.00412180
mov edi, dword [esp + 0x70]
mov esi, dword [esp + 0x6c]
mov eax, 0x5c
xor ecx, ecx
mov word [esi + edi*2], ax
lea eax, [edi + 1]
mov word [esi + eax*2], cx
mov dword [esp + 0x70], eax
mov eax, dword [ebx + 0xe4]
lea edx, [esp + 0x48]
push edx
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
jmp 0x4b36b3
xorps xmm0, xmm0
mov dword [esp + 0x64], 0
movq qword [esp + 0x5c], xmm0
push 8
mov dword [esp + 0x60], 0
call fcn.004df9b3
add esp, 4
test eax, eax
jne 0x4b3320
mov byte [esp + 0x17], al
lea eax, [esp + 0x17]
push 0x51c2c8
push eax
call fcn.004ea58e
xor ecx, ecx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 3
mov word [eax], cx
mov byte [esp + 0x138], 0xf
xorps xmm0, xmm0
movq qword [esp + 0x4c], xmm0
push 8
mov dword [esp + 0x58], ecx
mov dword [esp + 0x50], ecx
call fcn.004df9b3
add esp, 4
test eax, eax
jne 0x4b3373
mov byte [esp + 0x1a], al
lea eax, [esp + 0x1a]
push 0x51c2c8
push eax
call fcn.004ea58e
xor ecx, ecx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 3
mov word [eax], cx
lea eax, [esp + 0x4c]
mov byte [esp + 0x138], 0x10
push eax
lea edx, [esp + 0x60]
mov ecx, esi
call fcn.00418320
lea ecx, [esp + 0x5c]
call fcn.004b28e0
test al, al
je 0x4b345a
mov byte [esp + 0x138], 0xf
push dword [esp + 0x4c]
call fcn.004df97b
add esp, 4
mov byte [esp + 0x138], 0xb
push dword [esp + 0x5c]
call fcn.004df97b
mov byte [esp + 0x13c], 0xa
add esp, 4
mov eax, dword [esp + 0x48]
test eax, eax
je 0x4b33f3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [esp + 0x138], 7
push dword [esp + 0xac]
call fcn.004df97b
add esp, 4
mov byte [esp + 0x138], 2
push esi
call fcn.004df97b
mov cl, byte [esp + 0x1c]
add esp, 4
mov byte [ebx + 0x165], cl
mov cl, byte [esp + 0x19]
mov byte [ebx + 0x166], cl
mov cl, byte [esp + 0x16]
mov dword [esp + 0x138], 0xffffffff
push dword [esp + 0x78]
mov byte [ebx + 0x164], cl
call fcn.004df97b
add esp, 4
mov eax, 0x80070057
jmp 0x4b39ea
mov edx, dword [esp + 0x50]
xor eax, eax
mov ebx, dword [esp + 0x5c]
mov edi, dword [esp + 0x4c]
test edx, edx
je 0x4b348b
lea esp, [esp]
movzx ecx, word [edi + eax*2]
cmp ecx, 0x2a
je 0x4b3541
cmp ecx, 0x3f
je 0x4b3541
inc eax
cmp eax, edx
jb 0x4b3470
lea ecx, [esp + 0xbc]
call fcn.004b2530
lea eax, [esp + 0x4c]
mov byte [esp + 0x138], 0x11
push eax
lea ecx, [esp + 0xc4]
call fcn.004128e0
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0xd0]
call fcn.004128e0
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0xdc]
call fcn.004128e0
push dword [esp + 0x20]
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x70]
push dword [esp + 0x28]
push eax
lea eax, [esp + 0xc8]
push eax
push 0
call fcn.004b6720
mov byte [esp + 0x138], 0x10
mov esi, eax
push dword [esp + 0x10c]
call fcn.004df97b
add esp, 4
push dword [esp + 0xd8]
call fcn.004df97b
add esp, 4
push dword [esp + 0xcc]
call fcn.004df97b
add esp, 4
push dword [esp + 0xc0]
call fcn.004df97b
add esp, 4
cmp esi, 1
jne 0x4b355c
mov esi, dword [esp + 0x6c]
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x48]
push edx
push ebx
mov eax, dword [eax + 0xe4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
jmp 0x4b368d
test esi, esi
je 0x4b360a
push edi
mov byte [esp + 0x13c], 0xf
call fcn.004df97b
add esp, 4
mov byte [esp + 0x138], 0xb
push dword [esp + 0x5c]
call fcn.004df97b
mov byte [esp + 0x13c], 0xa
add esp, 4
mov eax, dword [esp + 0x48]
test eax, eax
je 0x4b359f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [esp + 0x138], 7
push dword [esp + 0xac]
call fcn.004df97b
add esp, 4
mov byte [esp + 0x138], 2
push dword [esp + 0x6c]
call fcn.004df97b
mov eax, dword [esp + 0x20]
add esp, 4
mov cl, byte [esp + 0x18]
mov byte [eax + 0x165], cl
mov cl, byte [esp + 0x19]
mov byte [eax + 0x166], cl
mov cl, byte [esp + 0x16]
mov dword [esp + 0x138], 0xffffffff
push dword [esp + 0x78]
mov byte [eax + 0x164], cl
call fcn.004df97b
add esp, 4
mov eax, esi
jmp 0x4b39ea
mov eax, dword [esp + 0x28]
mov byte [eax], 1
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0xd8]
mov eax, dword [eax + 0xd4]
mov ecx, dword [eax + ecx*4 - 4]
lea eax, [esp + 0x5c]
push eax
add ecx, 0x70
call fcn.004128e0
mov ecx, dword [esp + 0x70]
mov esi, dword [esp + 0x58]
test ecx, ecx
je 0x4b3661
mov edx, dword [esp + 0x78]
sub esi, ecx
mov dword [esp + 0x58], esi
lea eax, [esi*2 + 2]
push eax
lea eax, [edx + ecx*2]
push eax
push edx
call fcn.004dfa50
add esp, 0xc
mov dword [esp + 0x7c], esi
test esi, esi
je 0x4b3689
mov eax, dword [esp + 0x78]
movzx eax, word [eax]
cmp eax, 0x5c
je 0x4b3676
cmp eax, 0x2f
jne 0x4b3689
push 0
lea ecx, [esp + 0x7c]
call fcn.00413110
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x58], eax
mov esi, dword [esp + 0x6c]
push edi
mov byte [esp + 0x13c], 0xf
call fcn.004df97b
add esp, 4
mov byte [esp + 0x138], 0xb
push ebx
call fcn.004df97b
mov ebx, dword [esp + 0x20]
add esp, 4
mov edi, dword [esp + 0x78]
mov eax, dword [esp + 0x48]
test eax, eax
je 0x4b3734
push eax
mov ecx, ebx
call fcn.004b2750
mov byte [esp + 0x138], 0xa
mov eax, dword [esp + 0x48]
test eax, eax
je 0x4b36dd
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [esp + 0x138], 7
push dword [esp + 0xac]
call fcn.004df97b
add esp, 4
mov byte [esp + 0x138], 2
push esi
call fcn.004df97b
mov cl, byte [esp + 0x1c]
add esp, 4
mov byte [ebx + 0x165], cl
mov cl, byte [esp + 0x19]
mov byte [ebx + 0x166], cl
mov cl, byte [esp + 0x16]
mov byte [ebx + 0x164], cl
mov dword [esp + 0x138], 0xffffffff
push edi
jmp 0x4b39e0
mov byte [esp + 0x138], 7
push dword [esp + 0xac]
call fcn.004df97b
add esp, 4
mov byte [esp + 0x138], 2
push esi
call fcn.004df97b
mov eax, dword [esp + 0x5c]
add esp, 4
jmp 0x4b376a
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x58], eax
xor esi, esi
mov dword [esp + 0x48], esi
test eax, eax
je 0x4b39af
jmp 0x4b3780
mov eax, dword [esp + 0x78]
xorps xmm0, xmm0
lea edi, [eax + esi*2]
movq qword [esp + 0x4c], xmm0
xor esi, esi
mov dword [esp + 0x54], 0
cmp word [edi], si
je 0x4b37a8
nop
inc esi
cmp word [edi + esi*2], 0
jne 0x4b37a0
xor ecx, ecx
mov dword [esp + 0x4c], 0
lea eax, [esi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004df9b3
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4b3a3a
lea ecx, [esi*2 + 2]
mov dword [esp + 0x4c], ebx
push ecx
push edi
push ebx
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], esi
call fcn.004e4930
add esp, 0xc
movzx ecx, word [ebx]
mov eax, ebx
test cx, cx
je 0x4b3818
mov edi, edi
cmp cx, 0x5c
je 0x4b3857
cmp cx, 0x2f
je 0x4b3857
movzx ecx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x4b3800
mov edi, esi
mov dword [esp + 0x68], 0
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x68]
mov byte [esp + 0x138], 0x13
push edx
push ebx
mov eax, dword [eax + 0xe4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [esp + 0x68]
test eax, eax
je 0x4b3874
mov esi, dword [esp + 0x48]
add esi, edi
mov dword [esp + 0x48], esi
jmp 0x4b396c
sub eax, ebx
mov edi, esi
sar eax, 1
js 0x4b381a
cmp eax, esi
jae 0x4b386f
mov esi, eax
xor ecx, ecx
mov dword [esp + 0x50], esi
mov word [ebx + eax*2], cx
lea edi, [eax + 1]
jmp 0x4b381a
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0xf4], 0
je 0x4b3a24
movzx eax, word [ebx]
mov edi, ebx
cmp eax, 0x3a
je 0x4b38a5
nop
test ax, ax
je 0x4b3a24
movzx eax, word [edi + 2]
add edi, 2
cmp eax, 0x3a
jne 0x4b3890
sub edi, ebx
sar edi, 1
js 0x4b3a24
xor ecx, ecx
mov dword [esp + 0x64], 0
lea eax, [esi + 1]
mov edx, 2
mul edx
xorps xmm0, xmm0
movq qword [esp + 0x5c], xmm0
mov dword [esp + 0x5c], 0
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004df9b3
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
je 0x4b3a10
lea ecx, [esi*2 + 2]
mov dword [esp + 0x5c], eax
push ecx
push ebx
push eax
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], esi
call fcn.004e4930
add esp, 0xc
mov byte [esp + 0x138], 0x14
cmp edi, esi
mov esi, dword [esp + 0x20]
jae 0x4b3928
xor eax, eax
mov dword [esp + 0x60], edi
mov word [esi + edi*2], ax
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x68]
push edx
push esi
mov eax, dword [eax + 0xf4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
test eax, eax
jne 0x4b3953
cmp dword [esp + 0x68], eax
je 0x4b3953
mov eax, dword [esp + 0x48]
inc eax
add eax, edi
mov dword [esp + 0x48], eax
push esi
mov byte [esp + 0x13c], 0x13
call fcn.004df97b
mov eax, dword [esp + 0x6c]
add esp, 4
mov esi, dword [esp + 0x48]
test eax, eax
je 0x4b3a24
mov ecx, dword [esp + 0x1c]
push eax
call fcn.004b2750
mov byte [esp + 0x138], 0x12
mov eax, dword [esp + 0x68]
test eax, eax
je 0x4b3994
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push ebx
mov byte [esp + 0x13c], 2
call fcn.004df97b
add esp, 4
cmp esi, dword [esp + 0x58]
jne 0x4b3780
mov eax, dword [esp + 0x1c]
mov cl, byte [esp + 0x18]
mov byte [eax + 0x165], cl
mov cl, byte [esp + 0x19]
mov byte [eax + 0x166], cl
mov cl, byte [esp + 0x16]
mov dword [esp + 0x138], 0xffffffff
push dword [esp + 0x78]
mov byte [eax + 0x164], cl
call fcn.004df97b
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x130]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x118]
xor ecx, esp
call fcn.004df96c
mov esp, ebp
pop ebp
ret 0x10
push 0x51c2c8
lea eax, [esp + 0x1b]
mov byte [esp + 0x1b], 0
push eax
call fcn.004ea58e
push ebx
mov byte [esp + 0x13c], 2
call fcn.004df97b
add esp, 4
jmp 0x4b39af
push 0x51c2c8
lea eax, [esp + 0x1e]
mov byte [esp + 0x1e], 0
push eax
call fcn.004ea58e
int3