Function at 0x41dec0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4ba46b
mov eax, dword fs:[0]
push eax
push ebp
push esi
mov eax, dword [0x4e3f80]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov ebp, ecx
mov esi, dword [esp + 0x1c]
mov ecx, 0x4c711c
mov eax, esi
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41df16
test dx, dx
je 0x41df12
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41df16
add eax, 4
add ecx, 4
test dx, dx
jne 0x41def0
xor eax, eax
jmp 0x41df1b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x41df85
mov esi, dword [esp + 0x20]
mov eax, esi
lea edx, [eax + 2]
jmp 0x41df30
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41df30
sub eax, edx
sar eax, 1
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00490828
add esp, 4
mov dword [ebp + 0x10], eax
mov ecx, esi
mov edx, eax
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
test ax, ax
jne 0x41df60
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
add esp, 0xc
ret 8
mov ecx, str.perm
mov eax, esi
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41dfb6
test dx, dx
je 0x41dfb2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41dfb6
add eax, 4
add ecx, 4
test dx, dx
jne 0x41df90
xor eax, eax
jmp 0x41dfbb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x41dfed
mov eax, dword [esp + 0x20]
push 0x4c493c
push eax
call fcn.0049de7f
add esp, 8
neg eax
sbb eax, eax
inc eax
mov dword [ebp + 0x50], eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
add esp, 0xc
ret 8
mov ecx, str.flatten
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41e01a
test dx, dx
je 0x41e016
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41e01a
add eax, 4
add ecx, 4
test dx, dx
jne 0x41dff4
xor eax, eax
jmp 0x41e01f
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x41eb1c
mov ecx, str.dontchangefocus
mov eax, esi
mov edi, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41e056
test dx, dx
je 0x41e052
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41e056
add eax, 4
add ecx, 4
test dx, dx
jne 0x41e030
xor eax, eax
jmp 0x41e05b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x41e097
mov ecx, dword [esp + 0x20]
push 0x4c493c
push ecx
call fcn.0049de7f
add esp, 8
test eax, eax
jne 0x41eb1c
mov dword [ebp + 0x170], 1
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
add esp, 0xc
ret 8
mov ecx, str.keepfocuswhenediting
mov eax, esi
mov edi, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41e0c6
test dx, dx
je 0x41e0c2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41e0c6
add eax, 4
add ecx, 4
test dx, dx
jne 0x41e0a0
xor eax, eax
jmp 0x41e0cb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x41e107
mov edx, dword [esp + 0x20]
push 0x4c493c
push edx
call fcn.0049de7f
add esp, 8
test eax, eax
jne 0x41eb1c
mov dword [ebp + 0x174], 1
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
add esp, 0xc
ret 8
mov ecx, str.iconselected
mov eax, esi
mov edi, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41e136
test dx, dx
je 0x41e132
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41e136
add eax, 4
add ecx, 4
test dx, dx
jne 0x41e110
xor eax, eax
jmp 0x41e13b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x41e1a5
mov esi, dword [esp + 0x20]
mov eax, esi
lea edx, [eax + 2]
jmp 0x41e150
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41e150
sub eax, edx
sar eax, 1
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00490828
add esp, 4
mov dword [ebp + 8], eax
mov ecx, esi
mov edx, eax
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
test ax, ax
jne 0x41e180
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
add esp, 0xc
ret 8
mov ecx, str.iconhover
mov eax, esi
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41e1d6
test dx, dx
je 0x41e1d2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41e1d6
add eax, 4
add ecx, 4
test dx, dx
jne 0x41e1b0
xor eax, eax
jmp 0x41e1db
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x41e245
mov esi, dword [esp + 0x20]
mov eax, esi
lea edx, [eax + 2]
jmp 0x41e1f0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41e1f0
sub eax, edx
sar eax, 1
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00490828
add esp, 4
mov dword [ebp + 0x18], eax
mov ecx, esi
mov edx, eax
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
test ax, ax
jne 0x41e220
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
add esp, 0xc
ret 8
mov ecx, str.iconpressed
mov eax, esi
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41e276
test dx, dx
je 0x41e272
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41e276
add eax, 4
add ecx, 4
test dx, dx
jne 0x41e250
xor eax, eax
jmp 0x41e27b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x41e2e5
mov esi, dword [esp + 0x20]
mov eax, esi
lea edx, [eax + 2]
jmp 0x41e290
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41e290
sub eax, edx
sar eax, 1
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00490828
add esp, 4
mov dword [ebp + 4], eax
mov ecx, esi
mov edx, eax
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
test ax, ax
jne 0x41e2c0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
add esp, 0xc
ret 8
mov ecx, str.icondisabled
mov eax, esi
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41e316
test dx, dx
je 0x41e312
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41e316
add eax, 4
add ecx, 4
test dx, dx
jne 0x41e2f0
xor eax, eax
jmp 0x41e31b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x41e385
mov esi, dword [esp + 0x20]
mov eax, esi
lea edx, [eax + 2]
jmp 0x41e330
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41e330
sub eax, edx
sar eax, 1
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00490828
add esp, 4
mov dword [ebp + 0xc], eax
mov ecx, esi
mov edx, eax
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
test ax, ax
jne 0x41e360
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
add esp, 0xc
ret 8
mov ecx, str.transparencycol
mov eax, esi
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41e3b6
test dx, dx
je 0x41e3b2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41e3b6
add eax, 4
add ecx, 4
test dx, dx
jne 0x41e390
xor eax, eax
jmp 0x41e3bb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x41eb08
mov ecx, str.transparencycolor
mov eax, esi
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41e3f6
test dx, dx
je 0x41e3f2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41e3f6
add eax, 4
add ecx, 4
test dx, dx
jne 0x41e3d0
xor eax, eax
jmp 0x41e3fb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x41eb08
mov ecx, str.transparencycolour
mov eax, esi
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41e436
test dx, dx
je 0x41e432
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41e436
add eax, 4
add ecx, 4
test dx, dx
jne 0x41e410
xor eax, eax
jmp 0x41e43b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x41eb08
mov ecx, str.buttonvk
mov eax, esi
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41e476
test dx, dx
je 0x41e472
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41e476
add eax, 4
add ecx, 4
test dx, dx
jne 0x41e450
xor eax, eax
jmp 0x41e47b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x41e4a3
mov eax, dword [esp + 0x20]
push eax
call fcn.0049e31d
add esp, 4
mov dword [ebp + 0x20], eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
add esp, 0xc
ret 8
mov ecx, str.cacheicon
mov eax, esi
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41e4d6
test dx, dx
je 0x41e4d2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41e4d6
add eax, 4
add ecx, 4
test dx, dx
jne 0x41e4b0
xor eax, eax
jmp 0x41e4db
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x41e510
mov ecx, dword [esp + 0x20]
push 0x4c3b8c
push ecx
call fcn.0049de7f
add esp, 8
test eax, eax
jne 0x41eb1c
mov dword [ebp + 0x28], eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
add esp, 0xc
ret 8
mov ecx, str.hiddenif
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41e53d
test dx, dx
je 0x41e539
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41e53d
add eax, 4
add ecx, 4
test dx, dx
jne 0x41e517
xor eax, eax
jmp 0x41e542
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x41e566
lea edx, [ebp + 0x90]
push edx
lea eax, [ebp + 0x8c]
lea ecx, [ebp + 0x88]
push eax
push ecx
add ebp, 0xa4
jmp 0x41e621
mov ecx, str.enabledif
mov eax, esi
lea ecx, [ecx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41e596
test dx, dx
je 0x41e592
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41e596
add eax, 4
add ecx, 4
test dx, dx
jne 0x41e570
xor eax, eax
jmp 0x41e59b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x41e5d9
lea eax, [ebp + 0x38]
push eax
mov eax, dword [esp + 0x24]
lea ecx, [ebp + 0x34]
push ecx
lea edx, [ebp + 0x30]
push edx
add ebp, 0x4c
push ebp
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call fcn.004019b0
call fcn.00423090
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
add esp, 0xc
ret 8
mov ecx, str.triggeredif
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41e606
test dx, dx
je 0x41e602
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41e606
add eax, 4
add ecx, 4
test dx, dx
jne 0x41e5e0
xor eax, eax
jmp 0x41e60b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x41e64c
lea ecx, [ebp + 0x5c]
push ecx
lea edx, [ebp + 0x58]
lea eax, [ebp + 0x54]
push edx
push eax
add ebp, 0x84
mov edx, dword [esp + 0x2c]
push ebp
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call fcn.004019b0
call fcn.00423090
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
add esp, 0xc
ret 8
mov ecx, str.xpos
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41e679
test dx, dx
je 0x41e675
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41e679
add eax, 4
add ecx, 4
test dx, dx
jne 0x41e653
xor eax, eax
jmp 0x41e67e
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x41e6a9
mov eax, dword [esp + 0x20]
push eax
call fcn.0049e31d
add esp, 4
mov dword [ebp + 0xa8], eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
add esp, 0xc
ret 8
mov ecx, str.ypos
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41e6d6
test dx, dx
je 0x41e6d2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41e6d6
add eax, 4
add ecx, 4
test dx, dx
jne 0x41e6b0
xor eax, eax
jmp 0x41e6db
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x41e706
mov ecx, dword [esp + 0x20]
push ecx
call fcn.0049e31d
add esp, 4
mov dword [ebp + 0xac], eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
add esp, 0xc
ret 8
mov ecx, str.xsize
mov eax, esi
lea ecx, [ecx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41e736
test dx, dx
je 0x41e732
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41e736
add eax, 4
add ecx, 4
test dx, dx
jne 0x41e710
xor eax, eax
jmp 0x41e73b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x41e77d
mov edx, dword [esp + 0x20]
push edx
call fcn.0049e31d
add esp, 4
mov dword [ebp + 0xb0], eax
cmp eax, 0xffffffff
jne 0x41eb1c
push 0
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp + 0xb0], eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
add esp, 0xc
ret 8
mov ecx, str.ysize
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41e7aa
test dx, dx
je 0x41e7a6
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41e7aa
add eax, 4
add ecx, 4
test dx, dx
jne 0x41e784
xor eax, eax
jmp 0x41e7af
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x41e7f1
mov eax, dword [esp + 0x20]
push eax
call fcn.0049e31d
add esp, 4
mov dword [ebp + 0xb4], eax
cmp eax, 0xffffffff
jne 0x41eb1c
push 1
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp + 0xb4], eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
add esp, 0xc
ret 8
mov ecx, str.selectable
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41e81e
test dx, dx
je 0x41e81a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41e81e
add eax, 4
add ecx, 4
test dx, dx
jne 0x41e7f8
xor eax, eax
jmp 0x41e823
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x41e85c
mov ecx, dword [esp + 0x20]
push 0x4c3b8c
push ecx
call fcn.0049de7f
add esp, 8
test eax, eax
jne 0x41eb1c
or dword [ebp + 0xc8], 0x40
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
add esp, 0xc
ret 8
mov ecx, str.disabled
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41e889
test dx, dx
je 0x41e885
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41e889
add eax, 4
add ecx, 4
test dx, dx
jne 0x41e863
xor eax, eax
jmp 0x41e88e
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x41e8c7
mov edx, dword [esp + 0x20]
push 0x4c493c
push edx
call fcn.0049de7f
add esp, 8
test eax, eax
jne 0x41eb1c
or dword [ebp + 0xc8], 4
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
add esp, 0xc
ret 8
mov ecx, str.hidden
mov eax, esi
mov edi, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41e8f6
test dx, dx
je 0x41e8f2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41e8f6
add eax, 4
add ecx, 4
test dx, dx
jne 0x41e8d0
xor eax, eax
jmp 0x41e8fb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x41e93e
mov eax, dword [esp + 0x20]
push 0x4c493c
push eax
call fcn.0049de7f
add esp, 8
test eax, eax
jne 0x41eb1c
mov dword [ebp + 0xc0], 1
or dword [ebp + 0xc8], 0x10
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
add esp, 0xc
ret 8
push 6
push str.action
push esi
call fcn.0049f9c2
add esp, 0xc
test eax, eax
jne 0x41e9b5
push 0x28
call fcn.004907ee
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], 0
test eax, eax
je 0x41e977
mov ecx, eax
call fcn.0041d5a0
mov esi, eax
jmp 0x41e979
xor esi, esi
mov edx, dword [esp + 0x20]
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.0041ed90
cmp dword [esi], 0
je 0x41eb1c
push esi
lea eax, [ebp + 0x144]
call fcn.004117d0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
add esp, 0xc
ret 8
mov ecx, str.name
mov eax, esi
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41e9e6
test dx, dx
je 0x41e9e2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41e9e6
add eax, 4
add ecx, 4
test dx, dx
jne 0x41e9c0
xor eax, eax
jmp 0x41e9eb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x41ea13
mov ecx, dword [esp + 0x20]
push ecx
lea ecx, [ebp + 0x124]
call fcn.00401a90
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
add esp, 0xc
ret 8
mov ecx, str.buddy
mov eax, esi
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41ea46
test dx, dx
je 0x41ea42
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41ea46
add eax, 4
add ecx, 4
test dx, dx
jne 0x41ea20
xor eax, eax
jmp 0x41ea4b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x41ea6d
mov ecx, dword [esp + 0x20]
push ebp
call fcn.0041eb30
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
add esp, 0xc
ret 8
mov ecx, str.attribute
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41ea9a
test dx, dx
je 0x41ea96
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41ea9a
add eax, 4
add ecx, 4
test dx, dx
jne 0x41ea74
xor eax, eax
jmp 0x41ea9f
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x41eb1c
mov esi, dword [esp + 0x20]
mov eax, esi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41eab0
sub eax, edx
sar eax, 1
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00490828
add esp, 4
mov dword [ebp + 0x160], eax
mov ecx, esi
mov edx, eax
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
test ax, ax
jne 0x41eae3
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
add esp, 0xc
ret 8
mov eax, dword [esp + 0x20]
push 0x10
push 0
push eax
call fcn.0049eb95
add esp, 0xc
mov dword [ebp + 0x24], eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
add esp, 0xc
ret 8