Function at 0x42d5fc
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x42df56
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
cmp byte [eax - 0x49], 0
je 0x42d624
mov eax, dword [ebp + 8]
cmp byte [eax - 0x4a], 0
jne 0x42d63f
mov eax, dword [ebp + 8]
cmp byte [eax - 0x49], 0
je 0x42d6b8
call fcn.00445b00
call fcn.00445c08
test al, al
je 0x42d6b8
mov eax, dword [ebp + 8]
test byte [eax + 0xc], 1
jne 0x42d651
mov eax, dword [ebp + 8]
test byte [eax + 0xc], 0x40
je 0x42d69c
call fcn.00445b00
call fcn.00445c08
test al, al
je 0x42d674
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov eax, dword [eax + 0x14]
mov edx, 0xff00001d
call fcn.00422ba8
jmp 0x42d687
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov eax, dword [eax + 0x14]
mov edx, 0xff00000d
call fcn.00422ba8
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov eax, dword [eax + 0xc]
mov edx, 0xff00000e
call fcn.004222a8
jmp 0x42d6b8
mov eax, dword [ebp + 8]
cmp byte [eax + 8], 0
je 0x42d6b8
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov eax, dword [eax + 0x14]
mov edx, 0xff00001e
call fcn.00422ba8
mov eax, dword [ebp + 8]
cmp byte [eax - 0x33], 0
je 0x42d6ca
mov eax, dword [ebp + 8]
cmp byte [eax - 0x49], 0
je 0x42d6db
mov eax, dword [ebp + 8]
lea edx, [eax - 0x10]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
call fcn.00422f8c
mov eax, dword [ebp + 8]
cmp dword [eax - 0x30], 0
je 0x42d6ed
mov eax, dword [ebp + 8]
mov byte [eax - 0x31], 0
jmp 0x42d71b
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x30]
mov edx, dword [0x42b3e0]
call fcn.00403e00
test al, al
je 0x42d714
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x30]
movzx eax, byte [eax + 0x60]
mov edx, dword [ebp + 8]
mov byte [edx - 0x31], al
jmp 0x42d71b
mov eax, dword [ebp + 8]
mov byte [eax - 0x31], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
inc eax
mov edx, dword [ebp + 8]
mov dword [edx - 0x28], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
inc eax
mov edx, dword [ebp + 8]
mov dword [edx - 0x24], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
mov eax, dword [eax + 0x30]
mov edx, 0x42df6c
call fcn.00404f84
jne 0x42d779
mov eax, dword [ebp + 8]
lea edx, [eax - 0x10]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
call fcn.00422f8c
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax - 0x28], edx
mov eax, dword [ebp + 8]
mov dword [eax - 0x20], 0xfffffffc
mov eax, dword [ebp + 8]
mov byte [eax - 0x4b], 0
jmp 0x42dc14
mov eax, dword [ebp + 8]
cmp dword [eax - 0x2c], 0
je 0x42d7c9
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
mov ebx, dword [eax + 0x40]
cmp ebx, 0xffffffff
jle 0x42d7a2
mov eax, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x2c]
call fcn.00446a40
cmp ebx, eax
jl 0x42d7cd
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
cmp byte [eax + 0x38], 0
je 0x42d7c9
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
mov esi, dword [eax + 0x4c]
test esi, esi
je 0x42d7cd
mov eax, dword [ebp + 8]
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x1c]
test al, al
jne 0x42d7cd
xor eax, eax
jmp 0x42d7cf
mov al, 1
mov edx, dword [ebp + 8]
mov byte [edx - 0x32], al
mov eax, dword [ebp + 8]
cmp byte [eax - 0x32], 0
jne 0x42d801
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
mov ebx, dword [eax + 0x4c]
test ebx, ebx
je 0x42dbb7
mov eax, dword [ebp + 8]
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x1c]
test al, al
jne 0x42dbb7
mov eax, dword [ebp + 8]
mov byte [eax - 0x4b], 1
mov eax, dword [ebp + 8]
cmp byte [eax - 0x32], 0
je 0x42d83d
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x28]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x2c]
add eax, dword [edx + 0x34]
mov edx, dword [ebp + 8]
mov dword [edx - 0x20], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x24]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x2c]
add eax, dword [edx + 0x30]
mov edx, dword [ebp + 8]
mov dword [edx - 0x1c], eax
jmp 0x42d85b
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x28]
add eax, 0x10
mov edx, dword [ebp + 8]
mov dword [edx - 0x20], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x24]
add eax, 0x10
mov edx, dword [ebp + 8]
mov dword [edx - 0x1c], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
cmp byte [eax + 0x38], 0
je 0x42d92b
mov eax, dword [ebp + 8]
cmp byte [eax - 0x49], 0
jne 0x42d92b
mov eax, dword [ebp + 8]
inc dword [eax - 0x20]
mov eax, dword [ebp + 8]
inc dword [eax - 0x1c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov eax, dword [eax + 0x14]
call fcn.00422ba0
mov edx, dword [ebp + 8]
mov dword [edx - 0x50], eax
mov eax, dword [ebp + 8]
test byte [eax + 0xc], 1
jne 0x42d8e7
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov eax, dword [eax + 0x14]
call fcn.00422ba0
mov edx, dword [ebp + 8]
mov dword [edx - 0x50], eax
mov edx, 0xff000014
mov eax, 0xff00000f
call fcn.00427c9c
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov eax, dword [eax + 0x14]
call fcn.00422b7c
mov eax, dword [ebp + 8]
lea edx, [eax - 0x28]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
call fcn.00422f8c
jmp 0x42d90b
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov eax, dword [eax + 0x14]
mov edx, 0xff00000f
call fcn.00422ba8
mov eax, dword [ebp + 8]
lea edx, [eax - 0x28]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
call fcn.00422f8c
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x50]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov eax, dword [eax + 0x14]
call fcn.00422ba8
mov eax, dword [ebp + 8]
inc dword [eax - 0x28]
mov eax, dword [ebp + 8]
inc dword [eax - 0x24]
mov eax, dword [ebp + 8]
cmp byte [eax - 0x32], 0
je 0x42da93
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
mov ebx, dword [eax + 0x40]
cmp ebx, 0xffffffff
jle 0x42d990
mov eax, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x2c]
call fcn.00446a40
cmp ebx, eax
jge 0x42d990
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x24]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
mov eax, dword [eax + 0x40]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
movzx eax, byte [eax + 0x39]
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x28]
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x14]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x2c]
call fcn.00446d30
jmp 0x42db9d
mov dl, 1
mov eax, dword [0x421248]
call fcn.004259c4
mov edx, dword [ebp + 8]
mov dword [edx - 0x54], eax
xor eax, eax
push ebp
push 0x42da8c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x54]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x3c]
push 0x7ff8
push 0
call sub.user32.dll_GetKeyboardLayoutList
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x54]
call fcn.00426ac0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x18]
mov edx, dword [ebp + 8]
mov dword [edx - 0x50], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov eax, dword [eax + 0xc]
mov edx, 0xff000012
call fcn.004222a8
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x54]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x54]
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x1c]
mov ecx, dword [ebp + 8]
mov esi, dword [ecx - 0x24]
sub edx, esi
sub edx, eax
sar edx, 1
jns 0x42da24
adc edx, 0
mov eax, dword [ebp + 8]
add edx, esi
inc edx
push edx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x54]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x20]
mov ecx, dword [ebp + 8]
mov ebx, dword [ecx - 0x28]
sub edx, ebx
sub edx, eax
sar edx, 1
jns 0x42da4d
adc edx, 0
mov eax, dword [ebp + 8]
add edx, ebx
inc edx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
pop ecx
call fcn.00422ee0
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x50]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov eax, dword [eax + 0xc]
call fcn.004222a8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42db9d
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x54]
call fcn.00403c74
ret
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 8]
lea esi, [eax - 0x28]
lea edi, [edx - 0x48]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
mov eax, dword [eax + 0x4c]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x20]
mov ecx, dword [ebp + 8]
sub edx, dword [ecx - 0x28]
cmp eax, edx
jge 0x42db0b
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
mov eax, dword [eax + 0x4c]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x20]
mov ecx, dword [ebp + 8]
sub edx, dword [ecx - 0x28]
sub edx, eax
sar edx, 1
jns 0x42dae4
adc edx, 0
mov eax, dword [ebp + 8]
add edx, dword [eax - 0x28]
inc edx
mov eax, dword [ebp + 8]
mov dword [eax - 0x28], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
mov eax, dword [eax + 0x4c]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, dword [ebp + 8]
add eax, dword [edx - 0x28]
mov edx, dword [ebp + 8]
mov dword [edx - 0x20], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
mov eax, dword [eax + 0x4c]
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x1c]
mov ecx, dword [ebp + 8]
sub edx, dword [ecx - 0x24]
cmp eax, edx
jge 0x42db73
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
mov eax, dword [eax + 0x4c]
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x1c]
mov ecx, dword [ebp + 8]
sub edx, dword [ecx - 0x24]
sub edx, eax
sar edx, 1
jns 0x42db4c
adc edx, 0
mov eax, dword [ebp + 8]
add edx, dword [eax - 0x24]
inc edx
mov eax, dword [ebp + 8]
mov dword [eax - 0x24], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
mov eax, dword [eax + 0x4c]
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, dword [ebp + 8]
add eax, dword [edx - 0x24]
mov edx, dword [ebp + 8]
mov dword [edx - 0x1c], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
mov ecx, dword [eax + 0x4c]
mov eax, dword [ebp + 8]
lea edx, [eax - 0x28]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
call fcn.00423054
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 8]
lea esi, [eax - 0x48]
lea edi, [edx - 0x28]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
cmp byte [eax + 0x38], 0
je 0x42dc14
mov eax, dword [ebp + 8]
dec dword [eax - 0x20]
mov eax, dword [ebp + 8]
dec dword [eax - 0x1c]
jmp 0x42dc14
mov eax, dword [ebp + 8]
cmp dword [eax - 0x2c], 0
je 0x42dbf5
mov eax, dword [ebp + 8]
cmp byte [eax + 8], 0
jne 0x42dbf5
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x28]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x2c]
add eax, dword [edx + 0x34]
mov edx, dword [ebp + 8]
mov dword [edx - 0x20], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x24]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x2c]
add eax, dword [edx + 0x30]
mov edx, dword [ebp + 8]
mov dword [edx - 0x1c], eax
jmp 0x42dc0d
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x28]
mov edx, dword [ebp + 8]
mov dword [edx - 0x20], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x24]
mov edx, dword [ebp + 8]
mov dword [edx - 0x1c], eax
mov eax, dword [ebp + 8]
mov byte [eax - 0x4b], 0
mov eax, dword [ebp + 8]
dec dword [eax - 0x28]
mov eax, dword [ebp + 8]
dec dword [eax - 0x24]
mov eax, dword [ebp + 8]
add dword [eax - 0x20], 2
mov eax, dword [ebp + 8]
add dword [eax - 0x1c], 2
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
cmp byte [eax + 0x38], 0
jne 0x42dc4c
mov eax, dword [ebp + 8]
cmp byte [eax - 0x33], 0
je 0x42dc81
mov eax, dword [ebp + 8]
cmp byte [eax - 0x4b], 0
je 0x42dc81
mov eax, dword [ebp + 8]
cmp byte [eax - 0x49], 0
jne 0x42dc81
push 0xf
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
movzx eax, byte [eax + 0x38]
mov eax, dword [eax*4 + 0x48a3c4]
push eax
mov eax, dword [ebp + 8]
add eax, 0xffffffd8
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
call fcn.0042327c
push eax
call fcn.00407394
mov eax, dword [ebp + 8]
cmp byte [eax - 0x33], 0
je 0x42dcd6
mov eax, dword [ebp + 8]
cmp byte [eax - 0x4b], 0
je 0x42dca0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x20]
inc eax
mov edx, dword [ebp + 8]
mov dword [edx - 0x10], eax
mov eax, dword [ebp + 8]
cmp byte [eax - 0x55], 0
je 0x42dcb2
mov eax, dword [ebp + 8]
cmp byte [eax + 8], 0
jne 0x42dcc5
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov eax, dword [eax + 0x14]
mov edx, 0xff00000d
call fcn.00422ba8
mov eax, dword [ebp + 8]
lea edx, [eax - 0x10]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
call fcn.00422f8c
mov eax, dword [ebp + 8]
cmp byte [eax + 8], 0
je 0x42dd63
mov eax, dword [ebp + 8]
cmp byte [eax - 0x55], 0
je 0x42dd63
mov eax, dword [ebp + 8]
cmp byte [eax - 0x49], 0
je 0x42dcfe
mov eax, dword [ebp + 8]
cmp byte [eax - 0x4a], 0
jne 0x42dd63
mov eax, dword [ebp + 8]
cmp byte [eax - 0x33], 0
je 0x42dd25
push 0xf
push 2
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
call fcn.0042327c
push eax
call fcn.00407394
jmp 0x42dd4a
mov eax, dword [ebp + 8]
test byte [eax + 0xc], 0x40
je 0x42dd4a
push 0xf
push 4
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
call fcn.0042327c
push eax
call fcn.00407394
mov eax, dword [ebp + 8]
cmp byte [eax - 0x33], 0
jne 0x42dd63
push 0xffffffffffffffff
push 0
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
push eax
call sub.user32.dll_GetMessagePos
mov eax, dword [ebp + 8]
cmp byte [eax - 0x33], 0
je 0x42dd75
mov eax, dword [ebp + 8]
cmp byte [eax - 0x4b], 0
jne 0x42dd82
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x20]
inc eax
mov edx, dword [ebp + 8]
mov dword [edx - 0x10], eax
mov eax, dword [ebp + 8]
add dword [eax - 0x10], 2
mov eax, dword [ebp + 8]
dec dword [eax - 8]
mov eax, dword [ebp + 8]
movzx eax, byte [eax - 0x31]
movzx eax, word [eax*2 + 0x48a3bc]
or ax, 0x60
movzx eax, ax
mov edx, dword [ebp + 8]
mov dword [edx - 0x38], eax
mov eax, dword [ebp + 8]
cmp byte [eax - 0x56], 0
je 0x42ddc7
mov eax, dword [ebp + 8]
test byte [eax + 0xd], 1
je 0x42ddc7
mov eax, dword [ebp + 8]
or dword [eax - 0x38], 0x100000
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 8]
lea esi, [eax - 0x10]
lea edi, [edx - 0x48]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 8]
test byte [eax + 0xc], 0x20
je 0x42ddf5
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov eax, dword [eax + 0xc]
movzx edx, byte [0x42df70]
call fcn.0042263c
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
push eax
mov eax, dword [ebp + 8]
movzx eax, byte [eax - 0x33]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x38]
or eax, 0x400
or eax, 0x100
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
mov ecx, dword [eax + 0x30]
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x14]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
call fcn.0042c874
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x3c]
mov edx, dword [ebp + 8]
sub eax, dword [edx - 0x44]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov ecx, dword [ebp + 8]
sub edx, dword [ecx - 0xc]
sub eax, edx
sar eax, 1
jns 0x42de50
adc eax, 0
push eax
push 0
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
push eax
call sub.user32.dll_GetMessagePos
mov eax, dword [ebp + 8]
cmp byte [eax + 8], 0
je 0x42de93
mov eax, dword [ebp + 8]
cmp byte [eax - 0x33], 0
je 0x42de93
mov eax, dword [ebp + 8]
cmp byte [eax - 0x55], 0
je 0x42de93
mov eax, dword [ebp + 8]
cmp byte [eax - 0x49], 0
jne 0x42de93
push 0
push 1
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
push eax
call sub.user32.dll_GetMessagePos
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
push eax
mov eax, dword [ebp + 8]
movzx eax, byte [eax - 0x33]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x38]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
mov ecx, dword [eax + 0x30]
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x14]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
call fcn.0042c874
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
cmp word [eax + 0x60], 0
je 0x42df40
mov eax, dword [ebp + 8]
cmp byte [eax + 8], 0
jne 0x42df40
mov eax, dword [ebp + 8]
cmp byte [eax - 0x57], 0
je 0x42deee
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
cmp dword [eax + 0x5c], 0
jne 0x42df40
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, dword [ebp + 8]
mov dword [edx - 0x10], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x40]
sub eax, 0xa
mov edx, dword [ebp + 8]
mov dword [edx - 8], eax
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
push eax
mov eax, dword [ebp + 8]
movzx eax, byte [eax - 0x33]
push eax
push 2
lea edx, [ebp - 4]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
movzx eax, word [eax + 0x60]
call fcn.0042b870
mov ecx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x14]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
call fcn.0042c874
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42df5d
lea eax, [ebp - 4]
call fcn.00404b5c
ret