Function at 0x42d880
Capabilities:
Extract resource via kernel32 functions
Get keyboard layout

Disassembly:
push ebp
lea ebp, [esp - 0x6c]
sub esp, 0x6c
push 0xffffffffffffffff
push 0x4b7cce
mov eax, dword fs:[0]
push eax
mov eax, 0x1a6a4
mov dword fs:[0], esp
call fcn.004b7400
push ebx
push esi
push edi
mov edi, dword [ebp + 0x74]
mov ebx, ecx
mov dword [ebp + 0x60], ebx
test edi, edi
je 0x42f855
cmp word [edi], 0
je 0x42f855
mov eax, dword [0x4e6718]
mov esi, dword [0x4e672c]
mov dword [ebp + 0x30], eax
cmp eax, esi
jl 0x42d954
cmp eax, 0xffff
jl 0x42d8f1
push 0x4b9c10
push str.Too_many_includes.
call fcn.00447cc0
jmp 0x42f857
test esi, esi
je 0x42d906
add esi, esi
cmp esi, 0xffff
jle 0x42d90b
mov esi, 0xffff
jmp 0x42d90b
mov esi, 0x64
lea eax, [esi*4]
push eax
push dword [0x4e6714]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
mov ecx, eax
add esp, 8
test ecx, ecx
jne 0x42d93e
push 0x4b9c10
push 0x4cdaa4
mov ecx, ebx
call fcn.00447cc0
jmp 0x42f857
mov eax, dword [0x4e6718]
mov dword [0x4e6714], ecx
mov dword [0x4e672c], esi
mov dword [ebp + 0x30], eax
jmp 0x42d95a
mov ecx, dword [0x4e6714]
test eax, eax
jne 0x42da6f
mov eax, dword [ebx + 0xadc]
mov dword [ecx], eax
xor eax, eax
lea esi, [ebp - 0x126ac]
mov word [ebp - 0xa6a8], ax
lea ecx, [ebp - 0x90]
lea eax, [ebp - 0x1a6b0]
mov dword [ebp + 0x64], esi
mov dword [ebp + 0x68], eax
call fcn.00404bd0
mov dword [ebp - 0x90], vtable.TextFile.0
mov dword [ebp - 0x5c], 0xffffffff
lea ecx, [ebp - 0x114]
mov dword [ebp - 4], 0
call fcn.00429680
mov dword [ebp + 0x48], 0
mov dword [ebp + 0x34], 0
mov dword [ebp + 0x38], 0
mov byte [ebp + 0x3c], 0
mov dword [ebp - 0x28], 0
mov byte [ebp - 4], 2
mov ecx, dword [0x4e5c14]
test ecx, ecx
je 0x42dc15
cmp dword [0x4e6718], 0
jne 0x42dc15
mov edx, dword [0x4e66a0]
test edx, edx
jne 0x42da48
push ecx
push dword [0x4e5c10]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp + 0x38], eax
test eax, eax
je 0x42da53
push dword [0x4e5c14]
push dword [0x4e5c10]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x42da53
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp + 0x34], eax
test eax, eax
je 0x42da53
mov edx, dword [0x4e66a0]
test edx, edx
je 0x42daea
mov ecx, dword [0x4e5c14]
test ecx, ecx
jne 0x42dace
mov dword [ebp + 0x38], ecx
push 0
push edi
xorps xmm3, xmm3
xor edx, edx
mov ecx, str.Could_not_extract_script_from_EXE.
call fcn.004a2130
add esp, 8
xor esi, esi
jmp 0x42f833
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x35c]
push eax
push 0x104
push edi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
cmp byte [ebp + 0x78], 0
jne 0x42d96a
xor esi, esi
cmp dword [ebp + 0x30], esi
jle 0x42d96a
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
lea eax, [ebp - 0x35c]
push eax
mov eax, dword [0x4e6714]
push dword [eax + esi*4]
call ebx
test eax, eax
je 0x42dac4
inc esi
cmp esi, dword [ebp + 0x30]
jl 0x42daa1
mov ebx, dword [ebp + 0x60]
jmp 0x42d96a
mov eax, 1
jmp 0x42f857
mov eax, dword [ecx + 4]
mov dword [ebp + 0x38], eax
test eax, eax
je 0x42da53
mov eax, dword [ecx]
add eax, dword [edx + 4]
mov dword [ebp + 0x34], eax
je 0x42da53
cmp dword [eax], 0x4034b50
jne 0x42dbee
call fcn.004049a0
test al, al
je 0x42f7e2
xor edx, edx
mov eax, dword [edx*4 + 0x4e4218]
lea ecx, [edx + 1]
inc edx
mov word [eax], cx
cmp edx, 0xa
jl 0x42db05
mov ecx, dword [ebp + 0x34]
lea edx, [ebp + 0x78]
push 0x4e4218
push dword [ebp + 0x38]
call fcn.0049f920
mov edi, eax
add esp, 8
mov dword [ebp + 0x48], edi
test edi, edi
je 0x42dbee
lea ebx, [edi + 2]
lea ecx, [ebx + 8]
cmp ebx, ecx
sbb eax, eax
and eax, ecx
je 0x42db81
cmp eax, 0x400
ja 0x42db66
call fcn.004b7430
mov esi, esp
test esi, esi
je 0x42db83
mov dword [esi], 0xcccc
add esi, 8
jmp 0x42db83
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
je 0x42db83
mov dword [esi], 0xdddd
add esi, 8
jmp 0x42db83
xor esi, esi
push edi
push dword [ebp + 0x78]
mov dword [ebp - 0x24], ebx
push esi
mov dword [ebp - 0x28], esi
call sub.VCRUNTIME140.dll_memcpy
xor eax, eax
add esp, 0xc
mov word [esi + edi], ax
test edi, edi
je 0x42dbb3
mov ecx, edi
mov edi, dword [ebp + 0x78]
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
push dword [ebp + 0x78]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov dword [ebp + 0x38], ebx
mov dword [ebp + 0x34], esi
call fcn.004049a0
test al, al
je 0x42f7e2
mov ecx, dword [0x4e5c1c]
call fcn.00425430
mov ecx, dword [0x4e5c18]
call fcn.00425430
lea esi, [ebp - 0x126ac]
lea eax, [ebp - 0x114]
push 0xfde9
mov dword [ebp + 8], eax
lea ecx, [ebp - 0x114]
push 0xc
lea eax, [ebp + 0x34]
push eax
call fcn.0049a1b0
mov edi, dword [ebp + 0x30]
jmp 0x42dd01
push dword [0x4e5bd8]
lea ecx, [ebp - 0x90]
push 0x30c
push edi
call fcn.0049a1b0
test al, al
jne 0x42dc82
cmp byte [ebp + 0x7c], al
jne 0x42f82e
cmp dword [0x4e6718], 0
mov ecx, str.Script
push edi
mov eax, str.Include
cmovle eax, ecx
push eax
push str._s_file___s__cannot_be_opened.
lea eax, [ebp - 0x764]
push 0x204
push eax
call fcn.0049c640
add esp, 0x14
lea eax, [ebp - 0x764]
mov ecx, ebx
push 0x4b9c10
push eax
call fcn.00447cc0
mov esi, eax
jmp 0x42f833
mov edi, dword [ebp + 0x30]
lea eax, [ebp - 0x90]
mov dword [ebp + 8], eax
test edi, edi
jle 0x42dd01
lea ecx, [ebp - 0x35c]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42dca0
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ecx, dword [0x4e6714]
mov edx, eax
add esp, 4
mov dword [ecx + edi*4], edx
test edx, edx
jne 0x42dce7
push 0x4b9c10
push 0x4cdaa4
mov ecx, ebx
call fcn.00447cc0
xor esi, esi
jmp 0x42f833
lea ecx, [ebp - 0x35c]
nop dword [eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx], ax
lea edx, [edx + 2]
test ax, ax
jne 0x42dcf0
push dword [ebp + 8]
mov ebx, dword [ebp + 0x60]
xor al, al
inc dword [0x4e6718]
mov ecx, ebx
mov byte [ebp + 0x7b], al
xor eax, eax
push eax
push 0x4000
push dword [ebp + 0x68]
mov word [ebp + 0x26], ax
mov word [ebp + 0x1c], ax
mov dword [ebx + 0x248], edi
mov dword [ebp + 0xc], eax
call fcn.0042fad0
push 2
push 0x4d2c90
push dword [ebp + 0x68]
mov edi, eax
mov dword [ebp + 0x50], eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncmp]
add esp, 0xc
test eax, eax
sete byte [ebp + 0x7f]
test eax, eax
jne 0x42dd64
mov eax, dword [ebp + 0x68]
xor ecx, ecx
xor edi, edi
mov dword [ebp + 0x50], edi
mov word [eax], cx
mov ecx, dword [ebp + 0x68]
nop word [eax + eax]
mov dword [ebp - 0x10], esi
cmp edi, 0xffffffff
je 0x42f742
mov eax, dword [ebp + 0xc]
push 0xc
inc eax
mov dword [ebx + 0x648], 0
push str.CommentFlag
push ecx
mov dword [ebx + 0x24c], eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x42ddb7
push dword [ebp + 0x68]
mov ecx, ebx
call fcn.0042fd90
test eax, eax
je 0x42f7c6
mov edx, dword [ebp + 0x64]
xor esi, esi
mov byte [ebp - 0x18], 0
mov dword [ebp + 0x58], esi
jmp 0x42ddc8
mov ebx, dword [ebp + 0x60]
push dword [ebp + 8]
inc dword [ebp + 0xc]
mov ecx, ebx
push esi
push 0x4000
push edx
call fcn.0042fad0
mov ecx, eax
mov dword [ebp + 0x4c], ecx
test ecx, ecx
je 0x42de95
cmp ecx, 0xffffffff
je 0x42de95
test esi, esi
jne 0x42de95
mov eax, dword [ebp + 0x64]
push 2
push 0x4d2cb4
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncmp]
mov edx, dword [ebp + 0x64]
add esp, 0xc
test eax, eax
jne 0x42de67
cmp byte [ebp + 0x7f], al
jne 0x42de28
cmp word [edx + 4], 0x3a
jne 0x42de28
cmp word [edx + 6], 0x3a
je 0x42de71
mov eax, dword [ebp + 0x4c]
sub eax, 2
mov byte [ebp + 0x7f], 0
mov dword [ebp + 0x4c], eax
lea eax, [eax*2 + 2]
push eax
lea eax, [edx + 4]
push eax
push edx
call sub.VCRUNTIME140.dll_memmove
mov edx, dword [ebp + 0x4c]
add esp, 0xc
mov ecx, dword [ebp + 0x64]
call fcn.00426400
mov edx, dword [ebp + 0x64]
mov dword [ebp + 0x4c], eax
cmp word [edx], 0
je 0x42ddc8
jmp 0x42de71
cmp byte [ebp + 0x7f], 0
jne 0x42ddc8
push 2
push 0x4d2c90
push edx
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncmp]
add esp, 0xc
test eax, eax
jne 0x42de92
mov edx, dword [ebp + 0x64]
mov byte [ebp + 0x7f], 1
jmp 0x42ddc8
mov ecx, dword [ebp + 0x4c]
cmp byte [ebp + 0x7f], 0
je 0x42deac
cmp ecx, 0xffffffff
je 0x42e535
mov edx, dword [ebp + 0x64]
jmp 0x42ddc8
test esi, esi
jne 0x42e36c
mov edx, dword [ebp + 0x64]
cmp ecx, 0xffffffff
je 0x42e0c9
cmp word [edx], 0x28
jne 0x42e0c9
movzx eax, word [edx + 2]
lea edi, [edx + 2]
mov ecx, eax
cmp eax, 0x3a
je 0x42e0c3
mov eax, dword [ebp + 0x4c]
cmp word [edx + eax*2 - 2], 0x3a
je 0x42e0c3
mov al, byte [0x4e5c32]
mov esi, 1
mov byte [ebp + 0x45], al
mov eax, ecx
mov dword [ebp + 0x58], esi
mov dword [ebp - 0x14], 0
mov byte [ebp + 0x46], 1
mov byte [ebp + 0x44], 0
mov byte [ebp + 0x43], 0
mov byte [ebp + 0x40], 1
mov dword [ebp - 0x58], 0xa
mov dword [ebp + 0x10], esi
nop
movzx eax, ax
cmp eax, 0x20
je 0x42df2d
cmp eax, 9
jne 0x42df36
movzx eax, word [edi + 2]
add edi, 2
jmp 0x42df20
test ax, ax
je 0x42e0b7
nop
mov ebx, edi
test edi, edi
je 0x42df81
movzx eax, word [edi]
test ax, ax
je 0x42df81
mov esi, eax
mov ecx, 0x4d049c
mov edx, 0x20
nop word [eax + eax]
cmp si, dx
je 0x42df98
movzx eax, word [ecx + 2]
add ecx, 2
mov edx, eax
test ax, ax
jne 0x42df60
movzx eax, word [ebx + 2]
add ebx, 2
mov esi, eax
test ax, ax
jne 0x42df50
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42df86
sub ecx, edx
sar ecx, 1
lea ebx, [edi + ecx*2]
movzx esi, word [ebx]
xor eax, eax
push 4
push str.Join
push edi
mov word [ebx], ax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x42dffc
push 0xf
lea eax, [edi + 8]
push eax
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
mov dx, word [0x4e4328]
lea ecx, [ebp - 0x58]
xor eax, eax
push 1
mov word [ebp - 0x3a], ax
call fcn.0049e810
lea edx, [ebp - 0x58]
add esp, 0x10
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x42dfe5
sub edx, ecx
sar edx, 1
mov dword [ebp + 0x10], edx
jmp 0x42e086
push 5
push 0x4d2d5c
push edi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x42e01c
cmp word [edi + 0xa], 0x30
setne byte [ebp + 0x45]
jmp 0x42e086
push 5
push str.RTrim
push edi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x42e03c
cmp word [edi + 0xa], 0x30
setne byte [ebp + 0x46]
jmp 0x42e086
movzx eax, word [edi]
test ax, ax
je 0x42e086
mov ecx, eax
movzx eax, cx
add eax, 0xffffffdb
cmp eax, 0x3e
ja case.0x42e058.38
movzx eax, byte [eax + 0x42f88c]
jmp dword [eax*4 + 0x42f874]
mov byte [ebp + 0x44], 1
jmp case.0x42e058.38
mov byte [ebp + 0x43], 1
jmp case.0x42e058.38
mov byte [ebp + 0x40], 0
jmp case.0x42e058.38
mov dword [ebp + 0x58], 2
movzx eax, word [edi + 2]
add edi, 2
mov ecx, eax
test ax, ax
jne 0x42e046
mov word [ebx], si
mov edi, ebx
mov eax, esi
nop dword [eax]
cmp ax, 0x20
je 0x42e09c
cmp ax, 9
jne 0x42e0a5
movzx eax, word [edi + 2]
add edi, 2
jmp 0x42e090
test ax, ax
jne 0x42df40
mov esi, dword [ebp + 0x58]
mov ebx, dword [ebp + 0x60]
mov edx, dword [ebp + 0x64]
mov edi, dword [ebp + 0x50]
mov byte [ebp - 0x18], 1
jmp 0x42ddc8
mov ecx, dword [ebp + 0x4c]
mov edi, dword [ebp + 0x50]
xor esi, esi
mov dword [ebp + 0x58], esi
cmp ecx, 0xffffffff
je 0x42e535
test ecx, ecx
je 0x42ddc8
cmp word [edx + ecx*2 - 2], 0x3a
jne 0x42e0f1
cmp word [edx], 0x2c
jne 0x42e535
mov cx, word [edx]
call fcn.00413080
movzx eax, ax
cmp eax, 0x41
je 0x42e325
cmp eax, 0x4f
je 0x42e2c7
mov edx, dword [ebp + 0x64]
movzx eax, word [edx]
cmp eax, 0x3a
je 0x42e123
cmp eax, 0x2b
je 0x42e123
cmp eax, 0x2d
jne 0x42e12d
cmp word [edx + 2], ax
je 0x42e535
push eax
push str.____:.___
call dword [sym.imp.VCRUNTIME140.dll_wcschr]
add esp, 8
test eax, eax
je 0x42e535
mov eax, dword [ebp + 0x64]
push 0x4d2cfc
push eax
call dword [sym.imp.VCRUNTIME140.dll_wcsstr]
mov edi, eax
add esp, 8
test edi, edi
je 0x42e228
mov edx, dword [ebp + 0x64]
cmp word [edx], 0x3a
jne 0x42e1ce
movzx ecx, word [edx + 2]
lea esi, [edx + 2]
test cx, cx
je 0x42e1bf
cmp cx, 0x3a
je 0x42e1bc
movzx eax, cx
test eax, 0xffffff80
jne 0x42e198
push 0x107
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
add esp, 8
test eax, eax
jne 0x42e1ae
movzx eax, word [esi]
push eax
push 0x4d2d04
call dword [sym.imp.VCRUNTIME140.dll_wcschr]
add esp, 8
test eax, eax
je 0x42e1cb
movzx eax, word [esi + 2]
add esi, 2
mov ecx, eax
test ax, ax
jne 0x42e175
mov edx, dword [ebp + 0x64]
cmp word [esi], 0x3a
je 0x42e535
jmp 0x42e1ce
mov edx, dword [ebp + 0x64]
cmp word [edx], 0x2c
jne 0x42e27b
lea esi, [edx + 2]
nop dword [eax + eax]
movzx eax, word [esi]
cmp eax, 0x20
je 0x42e1ed
cmp eax, 9
jne 0x42e1f2
add esi, 2
jmp 0x42e1e0
mov edi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncmp]
push 2
push 0x4d2cfc
push esi
call edi
add esp, 0xc
test eax, eax
je 0x42e535
push 3
lea eax, [esi - 2]
push 0x4d048c
push eax
call edi
add esp, 0xc
test eax, eax
je 0x42e535
mov esi, dword [ebp + 0x58]
mov edi, dword [ebp + 0x50]
mov edx, dword [ebp + 0x4c]
lea eax, [edx + edi]
cmp eax, 0x4000
jae 0x42f43f
mov ecx, dword [ebp + 0x64]
cmp word [ecx], 0x2c
je 0x42e255
mov eax, dword [ebp + 0x68]
mov ebx, 0x20
mov word [eax + edi*2], bx
inc edi
mov ebx, dword [ebp + 0x60]
lea eax, [edx*2 + 2]
push eax
mov eax, dword [ebp + 0x68]
push ecx
lea eax, [eax + edi*2]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov edx, dword [ebp + 0x64]
add esp, 0xc
add edi, dword [ebp + 0x4c]
mov dword [ebp + 0x50], edi
jmp 0x42ddc8
mov eax, edx
cmp edx, edi
jae 0x42e28e
cmp word [eax], 0x22
je 0x42e28e
add eax, 2
cmp eax, edi
jb 0x42e281
cmp eax, edi
je 0x42e535
movzx eax, word [edi + 4]
lea edx, [edi + 4]
mov esi, eax
test ax, ax
je 0x42e2bf
mov ecx, eax
movzx esi, cx
cmp cx, 0x22
je 0x42e2bf
movzx eax, word [edx + 2]
add edx, 2
mov ecx, eax
mov esi, eax
test ax, ax
jne 0x42e2a6
test si, si
jmp 0x42e21f
mov eax, dword [ebp + 0x64]
mov cx, word [eax + 2]
call fcn.00413080
cmp ax, 0x52
jne 0x42e535
mov ecx, dword [ebp + 0x64]
add ecx, 4
movzx eax, word [ecx]
cmp eax, 0x20
je 0x42e2f4
cmp eax, 9
jne 0x42e535
cmp ax, 0x20
je 0x42e300
cmp ax, 9
jne 0x42e309
movzx eax, word [ecx + 2]
add ecx, 2
jmp 0x42e2f4
push eax
push str.____:
call dword [sym.imp.VCRUNTIME140.dll_wcschr]
add esp, 8
test eax, eax
jne 0x42e535
jmp 0x42e22b
push 3
push 0x4d2cbc
push dword [ebp + 0x64]
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x42e535
mov ecx, dword [ebp + 0x64]
add ecx, 6
movzx eax, word [ecx]
cmp eax, 0x20
je 0x42e357
cmp eax, 9
jne 0x42e535
cmp ax, 0x20
je 0x42e363
cmp ax, 9
jne 0x42e309
movzx eax, word [ecx + 2]
add ecx, 2
jmp 0x42e357
cmp ecx, 0xffffffff
je 0x42f710
mov edx, dword [ebp + 0x64]
cmp ecx, 0xfffffffe
je 0x42ddc8
mov eax, edx
cmp word [eax], 0x29
jne 0x42e3a6
xor esi, esi
lea ebx, [eax + 2]
or edx, 0xffffffff
mov dword [ebp + 0x58], esi
mov ecx, eax
call fcn.00426470
lea ecx, [eax - 1]
mov dword [ebp + 0x4c], ecx
jmp 0x42e4b1
cmp byte [ebp + 0x46], 0
mov ebx, eax
je 0x42e3bf
mov edx, ecx
mov ecx, eax
call fcn.00426470
mov ecx, eax
mov eax, dword [ebp + 0x64]
mov dword [ebp + 0x4c], ecx
cmp byte [ebp + 0x45], 0
je 0x42e3d1
mov edx, ecx
mov ecx, eax
call fcn.00426400
mov dword [ebp + 0x4c], eax
xor esi, esi
cmp byte [ebp + 0x44], 0
je 0x42e40a
mov ax, word [0x4e4328]
lea edx, [ebp + 0x24]
mov ecx, dword [ebp + 0x64]
push esi
push esi
push 0x4001
push 0xffffffffffffffff
mov word [ebp + 0x24], ax
mov word [ebp + 0x18], ax
mov word [ebp + 0x1a], ax
lea eax, [ebp + 0x18]
push 1
push eax
call fcn.0049ce20
add esp, 0x18
mov esi, eax
cmp byte [ebp + 0x43], 0
je 0x42e44b
mov dx, word [0x4e432c]
lea eax, [ebp + 0x18]
mov cx, word [0x4e4328]
push 0
push 0
push 0x4001
push 0xffffffffffffffff
mov word [ebp + 0x24], dx
mov word [ebp + 0x18], cx
mov ecx, dword [ebp + 0x64]
mov word [ebp + 0x1a], dx
lea edx, [ebp + 0x24]
push 1
push eax
call fcn.0049ce20
add esp, 0x18
add esi, eax
cmp byte [ebp + 0x40], 0
je 0x42e48b
mov ax, word [0x4e4328]
lea edx, [ebp + 0x24]
mov cx, word [0x4e4330]
push 0
push 0
push 0x4001
push 0xffffffffffffffff
mov word [ebp + 0x18], ax
lea eax, [ebp + 0x18]
mov word [ebp + 0x24], cx
mov word [ebp + 0x1a], cx
mov ecx, dword [ebp + 0x64]
push 1
push eax
call fcn.0049ce20
add esp, 0x18
add esi, eax
test esi, esi
je 0x42e4ae
mov edx, dword [ebp + 0x64]
mov esi, edx
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x42e497
sub esi, ecx
sar esi, 1
mov dword [ebp + 0x4c], esi
mov esi, dword [ebp + 0x58]
jmp 0x42e4b4
mov esi, dword [ebp + 0x58]
mov edx, dword [ebp + 0x64]
mov eax, dword [ebp + 0x4c]
mov ecx, dword [ebp + 0x10]
add eax, ecx
add eax, edi
cmp eax, 0x4001
jae 0x42f6df
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp eax, 1
jle 0x42e4fe
test ecx, ecx
je 0x42e4fe
cmp ebx, edx
jne 0x42e4fe
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp + 0x68]
lea eax, [eax + edi*2]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
add edi, dword [ebp + 0x10]
mov dword [ebp + 0x50], edi
mov eax, dword [ebp + 0x4c]
mov edx, dword [ebp + 0x64]
test eax, eax
je 0x42ddc5
lea eax, [eax*2 + 2]
push eax
mov eax, dword [ebp + 0x68]
push ebx
lea eax, [eax + edi*2]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov edx, dword [ebp + 0x64]
add esp, 0xc
add edi, dword [ebp + 0x4c]
mov dword [ebp + 0x50], edi
jmp 0x42ddc5
mov word [ebx], si
mov ebx, dword [ebp + 0x50]
mov edi, dword [ebp + 0x60]
nop dword [eax + eax]
test ebx, ebx
je 0x42ea8e
cmp word [ebp - 0xa6a8], 0
je 0x42e6cc
mov eax, dword [ebp + 0x14]
mov esi, dword [edi + 0x24c]
mov dword [edi + 0x24c], eax
mov eax, dword [ebp + 0x68]
cmp word [eax], 0x7b
je 0x42e5b5
cmp byte [ebp + 0x77], 0
jne 0x42e5b5
cmp dword [ebp + 0x28], 0
jne 0x42f4ba
cmp dword [edi + 0x24], 0
je 0x42e596
mov eax, dword [0x4e30fc]
cmp dword [eax + 0xb4], 0
je 0x42f471
push 0
push 0
push 0
push 0
push 0
push 3
lea eax, [ebp - 0xa6a8]
mov ecx, edi
push eax
call fcn.004315e0
jmp 0x42e654
mov eax, dword [ebp + 0x28]
sub eax, 0
je 0x42e610
sub eax, 1
je 0x42e5ef
sub eax, 1
jne 0x42e666
lea eax, [ebp - 0xa6a8]
mov ecx, edi
push eax
call fcn.00437f30
test eax, eax
je 0x42f7c6
xor eax, eax
mov word [ebp - 0xa6a8], ax
jmp 0x42e674
lea eax, [ebp - 0xa6a8]
mov ecx, edi
push eax
call fcn.00437920
test eax, eax
je 0x42f7c6
xor eax, eax
mov word [ebp - 0xa6a8], ax
jmp 0x42e674
mov eax, dword [0x4e30fc]
cmp dword [eax + 0xb4], 0
jne 0x42f4f3
lea eax, [ebp - 0x26a4]
mov ecx, edi
push eax
lea eax, [ebp - 0xa6a8]
push eax
call fcn.00436f80
test eax, eax
je 0x42f7c6
cmp byte [ebp + 0x77], 0
je 0x42e666
push 0
push 0
push 0
push 0x75
mov ecx, edi
call fcn.00433940
test eax, eax
je 0x42f7c6
mov dword [edi + 0x648], 0
xor eax, eax
mov word [ebp - 0xa6a8], ax
cmp dword [ebp + 0x28], eax
je 0x42e6c6
cmp byte [ebp + 0x77], 0
jne 0x42e6c6
mov ecx, dword [ebp + 0x68]
movzx eax, word [ecx + 2]
add ecx, 2
cmp eax, 0x20
je 0x42e67d
cmp eax, 9
je 0x42e67d
test ax, ax
je 0x42ea88
mov ebx, ecx
lea edx, [ebx + 2]
nop dword [eax]
mov ax, word [ebx]
invalid