Function at 0x474a88
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x4753e2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
cmp byte [eax - 0x49], 0
je 0x474ab0
mov eax, dword [ebp + 8]
cmp byte [eax - 0x4a], 0
jne 0x474acb
mov eax, dword [ebp + 8]
cmp byte [eax - 0x49], 0
je 0x474b44
call fcn.0048fab8
call fcn.0048fbc4
test al, al
je 0x474b44
mov eax, dword [ebp + 8]
test byte [eax + 0xc], 1
jne 0x474add
mov eax, dword [ebp + 8]
test byte [eax + 0xc], 0x40
je 0x474b28
call fcn.0048fab8
call fcn.0048fbc4
test al, al
je 0x474b00
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x24]
mov eax, dword [eax + 0x14]
mov edx, 0xff00001d
call fcn.004681cc
jmp 0x474b13
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x24]
mov eax, dword [eax + 0x14]
mov edx, 0xff00000d
call fcn.004681cc
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x24]
mov eax, dword [eax + 0xc]
mov edx, 0xff00000e
call fcn.0046785c
jmp 0x474b44
mov eax, dword [ebp + 8]
cmp byte [eax + 8], 0
je 0x474b44
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x24]
mov eax, dword [eax + 0x14]
mov edx, 0xff00001e
call fcn.004681cc
mov eax, dword [ebp + 8]
cmp byte [eax - 0x33], 0
je 0x474b56
mov eax, dword [ebp + 8]
cmp byte [eax - 0x49], 0
je 0x474b67
mov eax, dword [ebp + 8]
lea edx, [eax - 0x10]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x24]
call fcn.004685b0
mov eax, dword [ebp + 8]
cmp dword [eax - 0x30], 0
je 0x474b79
mov eax, dword [ebp + 8]
mov byte [eax - 0x31], 0
jmp 0x474ba7
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x30]
mov edx, dword [0x4725e8]
call fcn.00403d08
test al, al
je 0x474ba0
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 0x474ba7
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 - 0x20], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
inc eax
mov edx, dword [ebp + 8]
mov dword [edx - 0x1c], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x28]
mov eax, dword [eax + 0x30]
mov edx, 0x4753fc
call fcn.00405bf0
jne 0x474c05
mov eax, dword [ebp + 8]
lea edx, [eax - 0x10]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x24]
call fcn.004685b0
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax - 0x20], edx
mov eax, dword [ebp + 8]
mov dword [eax - 0x18], 0xfffffffc
mov eax, dword [ebp + 8]
mov byte [eax - 0x4b], 0
jmp 0x4750a0
mov eax, dword [ebp + 8]
cmp dword [eax - 0x2c], 0
je 0x474c55
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x28]
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xffffffff
jle 0x474c2e
mov eax, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x2c]
call fcn.00490d18
cmp ebx, eax
jl 0x474c59
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x28]
cmp byte [eax + 0x34], 0
je 0x474c55
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x28]
mov esi, dword [eax + 0x48]
test esi, esi
je 0x474c59
mov eax, dword [ebp + 8]
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x20]
test al, al
jne 0x474c59
xor eax, eax
jmp 0x474c5b
mov al, 1
mov edx, dword [ebp + 8]
mov byte [edx - 0x32], al
mov eax, dword [ebp + 8]
cmp byte [eax - 0x32], 0
jne 0x474c8d
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x28]
mov ebx, dword [eax + 0x48]
test ebx, ebx
je 0x475043
mov eax, dword [ebp + 8]
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x20]
test al, al
jne 0x475043
mov eax, dword [ebp + 8]
mov byte [eax - 0x4b], 1
mov eax, dword [ebp + 8]
cmp byte [eax - 0x32], 0
je 0x474cc9
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x20]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x2c]
add eax, dword [edx + 0x34]
mov edx, dword [ebp + 8]
mov dword [edx - 0x18], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x1c]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x2c]
add eax, dword [edx + 0x30]
mov edx, dword [ebp + 8]
mov dword [edx - 0x14], eax
jmp 0x474ce7
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x20]
add eax, 0x10
mov edx, dword [ebp + 8]
mov dword [edx - 0x18], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x1c]
add eax, 0x10
mov edx, dword [ebp + 8]
mov dword [edx - 0x14], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x28]
cmp byte [eax + 0x34], 0
je 0x474db7
mov eax, dword [ebp + 8]
cmp byte [eax - 0x49], 0
jne 0x474db7
mov eax, dword [ebp + 8]
inc dword [eax - 0x18]
mov eax, dword [ebp + 8]
inc dword [eax - 0x14]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x24]
mov eax, dword [eax + 0x14]
call fcn.004681c4
mov edx, dword [ebp + 8]
mov dword [edx - 0x50], eax
mov eax, dword [ebp + 8]
test byte [eax + 0xc], 1
jne 0x474d73
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x24]
mov eax, dword [eax + 0x14]
call fcn.004681c4
mov edx, dword [ebp + 8]
mov dword [edx - 0x50], eax
mov edx, 0xff000014
mov eax, 0xff00000f
call fcn.0046db6c
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x24]
mov eax, dword [eax + 0x14]
call fcn.004681a0
mov eax, dword [ebp + 8]
lea edx, [eax - 0x20]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x24]
call fcn.004685b0
jmp 0x474d97
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x24]
mov eax, dword [eax + 0x14]
mov edx, 0xff00000f
call fcn.004681cc
mov eax, dword [ebp + 8]
lea edx, [eax - 0x20]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x24]
call fcn.004685b0
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x50]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x24]
mov eax, dword [eax + 0x14]
call fcn.004681cc
mov eax, dword [ebp + 8]
inc dword [eax - 0x20]
mov eax, dword [ebp + 8]
inc dword [eax - 0x1c]
mov eax, dword [ebp + 8]
cmp byte [eax - 0x32], 0
je 0x474f1f
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x28]
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xffffffff
jle 0x474e1c
mov eax, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x2c]
call fcn.00490d18
cmp ebx, eax
jge 0x474e1c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x1c]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x28]
mov eax, dword [eax + 0x3c]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x28]
movzx eax, byte [eax + 0x35]
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x20]
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x24]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x2c]
call fcn.00491028
jmp 0x475029
mov dl, 1
mov eax, dword [0x4662e0]
call fcn.0046b170
mov edx, dword [ebp + 8]
mov dword [edx - 0x54], eax
xor eax, eax
push ebp
push 0x474f18
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 + pe_nt_image_headers32]
push 0x7ff8
push 0
call sub.user32.dll_GetKeyboardLayoutList
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x54]
call fcn.0046c794
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x24]
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 - 0x24]
mov eax, dword [eax + 0xc]
mov edx, 0xff000012
call fcn.0046785c
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 + 0x24]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x14]
mov ecx, dword [ebp + 8]
mov esi, dword [ecx - 0x1c]
sub edx, esi
sub edx, eax
sar edx, 1
jns 0x474eb0
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 + 0x30]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x18]
mov ecx, dword [ebp + 8]
mov ebx, dword [ecx - 0x20]
sub edx, ebx
sub edx, eax
sar edx, 1
jns 0x474ed9
adc edx, 0
mov eax, dword [ebp + 8]
add edx, ebx
inc edx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x24]
pop ecx
call fcn.00468504
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x50]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x24]
mov eax, dword [eax + 0xc]
call fcn.0046785c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x475029
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x54]
call fcn.00403b68
ret
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 8]
lea esi, [eax - 0x20]
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 - 0x28]
mov eax, dword [eax + 0x48]
mov edx, dword [eax]
call dword [edx + 0x30]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x18]
mov ecx, dword [ebp + 8]
sub edx, dword [ecx - 0x20]
cmp eax, edx
jge 0x474f97
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x28]
mov eax, dword [eax + 0x48]
mov edx, dword [eax]
call dword [edx + 0x30]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x18]
mov ecx, dword [ebp + 8]
sub edx, dword [ecx - 0x20]
sub edx, eax
sar edx, 1
jns 0x474f70
adc edx, 0
mov eax, dword [ebp + 8]
add edx, dword [eax - 0x20]
inc edx
mov eax, dword [ebp + 8]
mov dword [eax - 0x20], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x28]
mov eax, dword [eax + 0x48]
mov edx, dword [eax]
call dword [edx + 0x30]
mov edx, dword [ebp + 8]
add eax, dword [edx - 0x20]
mov edx, dword [ebp + 8]
mov dword [edx - 0x18], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x28]
mov eax, dword [eax + 0x48]
mov edx, dword [eax]
call dword [edx + 0x24]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x14]
mov ecx, dword [ebp + 8]
sub edx, dword [ecx - 0x1c]
cmp eax, edx
jge 0x474fff
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x28]
mov eax, dword [eax + 0x48]
mov edx, dword [eax]
call dword [edx + 0x24]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x14]
mov ecx, dword [ebp + 8]
sub edx, dword [ecx - 0x1c]
sub edx, eax
sar edx, 1
jns 0x474fd8
adc edx, 0
mov eax, dword [ebp + 8]
add edx, dword [eax - 0x1c]
inc edx
mov eax, dword [ebp + 8]
mov dword [eax - 0x1c], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x28]
mov eax, dword [eax + 0x48]
mov edx, dword [eax]
call dword [edx + 0x24]
mov edx, dword [ebp + 8]
add eax, dword [edx - 0x1c]
mov edx, dword [ebp + 8]
mov dword [edx - 0x14], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x28]
mov ecx, dword [eax + 0x48]
mov eax, dword [ebp + 8]
lea edx, [eax - 0x20]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x24]
call fcn.00468678
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 8]
lea esi, [eax - 0x48]
lea edi, [edx - 0x20]
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 - 0x28]
cmp byte [eax + 0x34], 0
je 0x4750a0
mov eax, dword [ebp + 8]
dec dword [eax - 0x18]
mov eax, dword [ebp + 8]
dec dword [eax - 0x14]
jmp 0x4750a0
mov eax, dword [ebp + 8]
cmp dword [eax - 0x2c], 0
je 0x475081
mov eax, dword [ebp + 8]
cmp byte [eax + 8], 0
jne 0x475081
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x20]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x2c]
add eax, dword [edx + 0x34]
mov edx, dword [ebp + 8]
mov dword [edx - 0x18], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x1c]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x2c]
add eax, dword [edx + 0x30]
mov edx, dword [ebp + 8]
mov dword [edx - 0x14], eax
jmp 0x475099
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x20]
mov edx, dword [ebp + 8]
mov dword [edx - 0x18], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x1c]
mov edx, dword [ebp + 8]
mov dword [edx - 0x14], eax
mov eax, dword [ebp + 8]
mov byte [eax - 0x4b], 0
mov eax, dword [ebp + 8]
dec dword [eax - 0x20]
mov eax, dword [ebp + 8]
dec dword [eax - 0x1c]
mov eax, dword [ebp + 8]
add dword [eax - 0x18], 2
mov eax, dword [ebp + 8]
add dword [eax - 0x14], 2
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x28]
cmp byte [eax + 0x34], 0
jne 0x4750d8
mov eax, dword [ebp + 8]
cmp byte [eax - 0x33], 0
je 0x47510d
mov eax, dword [ebp + 8]
cmp byte [eax - 0x4b], 0
je 0x47510d
mov eax, dword [ebp + 8]
cmp byte [eax - 0x49], 0
jne 0x47510d
push 0xf
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x28]
movzx eax, byte [eax + 0x34]
mov eax, dword [eax*4 + 0x4a6a8c]
push eax
mov eax, dword [ebp + 8]
add eax, 0xffffffe0
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x24]
call fcn.004689a8
push eax
call fcn.004082d4
mov eax, dword [ebp + 8]
cmp byte [eax - 0x33], 0
je 0x475162
mov eax, dword [ebp + 8]
cmp byte [eax - 0x4b], 0
je 0x47512c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
inc eax
mov edx, dword [ebp + 8]
mov dword [edx - 0x10], eax
mov eax, dword [ebp + 8]
cmp byte [eax - 0x55], 0
je 0x47513e
mov eax, dword [ebp + 8]
cmp byte [eax + 8], 0
jne 0x475151
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x24]
mov eax, dword [eax + 0x14]
mov edx, 0xff00000d
call fcn.004681cc
mov eax, dword [ebp + 8]
lea edx, [eax - 0x10]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x24]
call fcn.004685b0
mov eax, dword [ebp + 8]
cmp byte [eax + 8], 0
je 0x4751ef
mov eax, dword [ebp + 8]
cmp byte [eax - 0x55], 0
je 0x4751ef
mov eax, dword [ebp + 8]
cmp byte [eax - 0x49], 0
je 0x47518a
mov eax, dword [ebp + 8]
cmp byte [eax - 0x4a], 0
jne 0x4751ef
mov eax, dword [ebp + 8]
cmp byte [eax - 0x33], 0
je 0x4751b1
push 0xf
push 2
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x24]
call fcn.004689a8
push eax
call fcn.004082d4
jmp 0x4751d6
mov eax, dword [ebp + 8]
test byte [eax + 0xc], 0x40
je 0x4751d6
push 0xf
push 4
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x24]
call fcn.004689a8
push eax
call fcn.004082d4
mov eax, dword [ebp + 8]
cmp byte [eax - 0x33], 0
jne 0x4751ef
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
or ecx, 0xffffffff
xor edx, edx
call fcn.00407bd4
mov eax, dword [ebp + 8]
cmp byte [eax - 0x33], 0
je 0x475201
mov eax, dword [ebp + 8]
cmp byte [eax - 0x4b], 0
jne 0x47520e
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
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 + 0x4a6a84]
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 0x475253
mov eax, dword [ebp + 8]
test byte [eax + 0xd], 1
je 0x475253
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 0x475281
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x24]
mov eax, dword [eax + 0xc]
movzx edx, byte [0x475400]
call fcn.00467c18
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 - 0x28]
mov ecx, dword [eax + 0x30]
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x24]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x28]
call fcn.00473c24
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x3c]
mov eax, dword [ebp + 8]
sub ecx, dword [eax - 0x44]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp + 8]
sub eax, dword [edx - 0xc]
sub ecx, eax
sar ecx, 1
jns 0x4752dc
adc ecx, 0
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
xor edx, edx
call fcn.00407bd4
mov eax, dword [ebp + 8]
cmp byte [eax + 8], 0
je 0x47531f
mov eax, dword [ebp + 8]
cmp byte [eax - 0x33], 0
je 0x47531f
mov eax, dword [ebp + 8]
cmp byte [eax - 0x55], 0
je 0x47531f
mov eax, dword [ebp + 8]
cmp byte [eax - 0x49], 0
jne 0x47531f
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
xor ecx, ecx
mov edx, 1
call fcn.00407bd4
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 - 0x28]
mov ecx, dword [eax + 0x30]
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x24]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x28]
call fcn.00473c24
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x28]
cmp word [eax + 0x5c], 0
je 0x4753cc
mov eax, dword [ebp + 8]
cmp byte [eax + 8], 0
jne 0x4753cc
mov eax, dword [ebp + 8]
cmp byte [eax - 0x57], 0
je 0x47537a
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x28]
cmp dword [eax + 0x58], 0
jne 0x4753cc
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 - 0x28]
movzx eax, word [eax + 0x5c]
call fcn.00472ac0
mov ecx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x24]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x28]
call fcn.00473c24
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4753e9
lea eax, [ebp - 4]
call fcn.004055ac
ret