Function at 0x48d4b0
Capabilities:
Get keyboard layout
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x60], edi
call fcn.00478990
mov ecx, edi
mov eax, dword [eax + 0xe0]
push eax
call fcn.00428010
push 9
xor eax, eax
mov dword [ebp - 0x20], 0
push str.hotkeybox
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
call fcn.00402e60
push 0
push 0x5b8308
push 0x5b780c
push 0
lea eax, [ebp - 0x30]
mov ecx, edi
push eax
call fcn.00427880
push eax
call sub.msvcrt.dll___RTDynamicCast
mov edx, dword [ebp - 0x1c]
add esp, 0x14
mov dword [edi + 0x258], eax
cmp edx, 8
jb 0x48d559
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48d54f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48e29d
push edx
push ecx
call fcn.00531d2c
add esp, 8
call fcn.004787a0
xor ebx, ebx
mov dword [ebp - 0x64], ebx
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x80], eax
test eax, eax
jle 0x48e289
mov ecx, dword [0x5b9fc0]
mov eax, dword fs:[0x2c]
lea eax, [eax + ecx*4]
mov ecx, dword [eax]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], ecx
nop dword [eax + eax]
mov eax, dword [0x5b953c]
cmp eax, dword [ecx + 8]
jg 0x48e2a2
mov eax, dword [0x5b9528]
xor ecx, ecx
mov edx, dword [0x5b9534]
test eax, eax
je 0x48d5ba
mov eax, dword [eax]
test eax, eax
je 0x48d5ba
mov ecx, dword [eax]
xor eax, eax
lea esi, [edx + ebx]
test ecx, ecx
je 0x48d5cb
mov ecx, dword [ecx]
test ecx, ecx
je 0x48d5cb
mov eax, dword [ecx]
test eax, eax
jne 0x48d5d3
xor edx, edx
jmp 0x48d5d5
mov edx, dword [eax]
mov ecx, dword [edx + 8]
mov eax, esi
shr eax, 1
dec ecx
and ecx, eax
and esi, 1
mov eax, dword [edx + 4]
mov eax, dword [eax + ecx*4]
lea ecx, [eax + esi*8]
lea eax, [ebp - 0x38]
push eax
call fcn.0040ad40
push 0x43c
call fcn.00531cfc
add esp, 4
test eax, eax
je 0x48d615
push 1
mov ecx, eax
call fcn.0043e3d0
mov edi, eax
mov dword [ebp - 0x44], eax
jmp 0x48d61a
xor edi, edi
mov dword [ebp - 0x44], edi
push 0x14
xor eax, eax
mov dword [ebp - 0x20], 0
push str.main_item_hotkey.xml
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
call fcn.00402e60
sub esp, 0x28
mov eax, esp
mov dword [eax + 0x24], 0
lea eax, [ebp - 0x30]
push eax
push edi
call fcn.00409960
mov edx, dword [ebp - 0x1c]
add esp, 0x30
cmp edx, 8
jb 0x48d690
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48d686
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48e29d
push edx
push ecx
call fcn.00531d2c
add esp, 8
mov ebx, dword [ebp - 0x60]
mov ecx, dword [ebx + 0x258]
mov eax, dword [ecx]
call dword [eax + 0x15c]
test eax, eax
jne 0x48d6ed
mov ecx, edi
call fcn.0042a680
mov ecx, edi
mov esi, eax
call fcn.0042a600
push 1
sub esp, 8
mov ecx, esp
push 0
mov dword [ecx], eax
mov dword [ecx + 4], esi
mov ecx, dword [ebx + 0x258]
push 0x5b81a0
push 0x5b7c68
push 0
mov eax, dword [ecx]
call dword [eax + 0x18c]
push eax
call sub.msvcrt.dll___RTDynamicCast
add esp, 0x14
mov ecx, eax
call fcn.0043bb80
mov ebx, dword [ebp - 0x38]
mov eax, dword [ebx + 0x14]
cmp eax, 4
je 0x48d71b
cmp eax, 7
jne 0x48d730
cmp dword [ebx + 0x7c], 0
jne 0x48d730
push dword [ebx]
lea eax, [ebp - 0x30]
push str.lnk_d
push eax
call fcn.004014d0
add esp, 0xc
jmp 0x48d81c
cmp dword [ebx + 0x7c], 0
jne 0x48d730
push 4
push str.url
lea ecx, [ebx + 0x6c]
call fcn.00402e60
lea eax, [ebx + 0x6c]
push eax
lea ecx, [ebp - 0x5c]
call fcn.00403190
mov eax, dword [ebp - 0x4c]
test eax, eax
jne 0x48d780
lea eax, [ebx + 0x48]
lea ecx, [ebp - 0x5c]
cmp ecx, eax
je 0x48d76a
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x48d757
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x5c]
call fcn.00402e60
mov eax, dword [ebp - 0x4c]
test eax, eax
jne 0x48d780
push 4
push str.err
lea ecx, [ebp - 0x5c]
call fcn.00402e60
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x48d7b6
mov ecx, dword [ebp - 0x48]
lea eax, [ebp - 0x5c]
mov edx, dword [ebp - 0x5c]
cmp ecx, 8
cmovae eax, edx
cmp word [eax], 0x23
je 0x48d7a4
cmp ecx, 8
lea eax, [ebp - 0x5c]
cmovae eax, edx
cmp word [eax], 0x2a
jne 0x48d7b6
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00401570
add esp, 8
jmp 0x48d7ce
mov eax, dword [ebx]
test eax, eax
je 0x48d7a4
push eax
lea eax, [ebp - 0x30]
push str.lnk_d
push eax
call fcn.004014d0
add esp, 0xc
mov edx, dword [ebp - 0x48]
cmp edx, 8
jb 0x48d808
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48d7fe
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48e29d
push edx
push ecx
call fcn.00531d2c
add esp, 8
xor eax, eax
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
mov eax, dword [ebp - 0x6c]
mov esi, dword [eax]
mov eax, dword [0x5b968c]
cmp eax, dword [esi + 8]
jg 0x48e32e
push 1
lea eax, [ebp - 0x30]
mov ecx, 0x5b9660
push eax
lea eax, [ebp - 0x130]
push eax
call fcn.0046d380
mov edx, dword [ebp - 0x1c]
cmp edx, 8
jb 0x48d883
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48d879
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48e29d
push edx
push ecx
call fcn.00531d2c
add esp, 8
mov eax, dword [0x5b968c]
cmp eax, dword [esi + 8]
jg 0x48e36e
lea eax, [ebp - 0x130]
mov ecx, 0x5b9660
push eax
call fcn.0046ea30
push 7
test al, al
jne 0x48d8e7
push str._s:err
lea ecx, [ebp - 0x130]
call fcn.00402e60
mov eax, dword [0x5b968c]
cmp eax, dword [esi + 8]
jg 0x48e3ae
lea eax, [ebp - 0x130]
mov ecx, 0x5b9660
push eax
call fcn.0046ea30
test al, al
je 0x48d96d
push 7
xor eax, eax
mov dword [ebp - 4], 7
push str.hk_icon
lea ecx, [ebp - 0x18]
mov dword [ebp - 8], eax
mov word [ebp - 0x18], ax
call fcn.00402e60
lea eax, [ebp - 0x18]
mov ecx, edi
push eax
call fcn.00434100
mov edx, dword [ebp - 4]
mov esi, eax
cmp edx, 8
jb 0x48d94b
mov ecx, dword [ebp - 0x18]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48d941
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48e29d
push edx
push ecx
call fcn.00531d2c
add esp, 8
xor eax, eax
mov dword [ebp - 8], 0
mov word [ebp - 0x18], ax
mov ecx, esi
lea eax, [ebp - 0x130]
mov dword [ebp - 4], 7
push eax
call fcn.0042bb30
push 7
xor eax, eax
mov dword [ebp - 8], 0
push str.hk_name
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 7
mov word [ebp - 0x18], ax
call fcn.00402e60
lea eax, [ebp - 0x18]
mov ecx, edi
push eax
call fcn.00434100
mov edx, dword [ebp - 4]
mov esi, eax
cmp edx, 8
jb 0x48d9d7
mov ecx, dword [ebp - 0x18]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48d9cd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48e29d
push edx
push ecx
call fcn.00531d2c
add esp, 8
xor eax, eax
mov dword [ebp - 8], 0
mov dword [ebp - 4], 7
lea ecx, [ebx + 0x18]
mov word [ebp - 0x18], ax
mov eax, dword [esi]
mov dword [ebp - 0x7c], ecx
push ecx
mov ecx, esi
call dword [eax + 0x154]
xor eax, eax
cmp dword [ebx + 0xbc], eax
je 0x48da82
push 5
push 0x5804bc
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], 7
mov word [ebp - 0x98], ax
call fcn.00402e60
push 0
lea ecx, [esi + 0x3a8]
call fcn.004329e0
lea ecx, [ebp - 0x98]
cmp eax, ecx
je 0x48da62
cmp dword [ebp - 0x84], 8
push dword [ebp - 0x88]
cmovae ecx, dword [ebp - 0x98]
push ecx
mov ecx, eax
call fcn.00402e60
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax + 0x2c]
mov edx, dword [ebp - 0x84]
cmp edx, 8
jb 0x48db2b
mov ecx, dword [ebp - 0x98]
jmp 0x48dafc
push 3
push 0x5804c8
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 7
mov word [ebp - 0xb0], ax
call fcn.00402e60
push 0
lea ecx, [esi + 0x3a8]
call fcn.004329e0
lea ecx, [ebp - 0xb0]
cmp eax, ecx
je 0x48dae2
cmp dword [ebp - 0x9c], 8
push dword [ebp - 0xa0]
cmovae ecx, dword [ebp - 0xb0]
push ecx
mov ecx, eax
call fcn.00402e60
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax + 0x2c]
mov edx, dword [ebp - 0x9c]
cmp edx, 8
jb 0x48db2b
mov ecx, dword [ebp - 0xb0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48db21
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48e29d
push edx
push ecx
call fcn.00531d2c
add esp, 8
movzx eax, word [ebx + 0xb8]
test ax, ax
je 0x48de54
mov ebx, eax
mov dword [ebp - 0x20], 0
push 7
xor eax, eax
movzx esi, bl
push str.hk_text
lea ecx, [ebp - 0x30]
shr ebx, 8
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
call fcn.00402e60
mov ecx, dword [ebp - 0x44]
lea eax, [ebp - 0x30]
push eax
call fcn.00434100
mov edx, dword [ebp - 0x1c]
mov edi, eax
cmp edx, 8
jb 0x48dbae
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48dba4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48e29d
push edx
push ecx
call fcn.00531d2c
add esp, 8
xor eax, eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
mov dword [ebp - 8], eax
mov dword [ebp - 4], 7
mov word [ebp - 0x18], ax
test bl, 2
je 0x48dbe4
push 7
push str.Ctrl_
lea ecx, [ebp - 0x18]
call fcn.00402350
test bl, 4
je 0x48dbf8
push 8
push str.Shift_
lea ecx, [ebp - 0x18]
call fcn.00402350
test bl, 1
je 0x48dc11
cmp esi, 0x12
je 0x48dc11
push 6
push str.Alt_
lea ecx, [ebp - 0x18]
call fcn.00402350
test bl, 8
je 0x48dc2a
cmp esi, 0x5b
je 0x48dc2a
push 6
push str.Win_
lea ecx, [ebp - 0x18]
call fcn.00402350
test esi, esi
je 0x48dcfd
push 0x80
push 0
push 0x5b9720
call sub.msvcrt.dll_memset
add esp, 0xc
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
push 0
push esi
call dword [sym.imp.USER32.dll_MapVirtualKeyExW]
mov ecx, eax
shl ecx, 0x10
or ecx, 1
cmp esi, 0x20
jne 0x48dc77
push str.Space
push 0x5b9720
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
jmp 0x48dcd8
cmp esi, 0x5b
jne 0x48dc8e
push 0x57d030
push 0x5b9720
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
jmp 0x48dcd8
cmp esi, 5
jne 0x48dca5
push 0x57d038
push 0x5b9720
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
jmp 0x48dcd8
cmp esi, 6
jne 0x48dcbc
push 0x57d040
push 0x5b9720
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
jmp 0x48dcd8
lea eax, [esi - 0x21]
push 0x40
push 0x5b9720
cmp eax, 0xe
ja 0x48dcd1
or ecx, 0x1000000
push ecx
call dword [sym.imp.USER32.dll_GetKeyNameTextW]
mov ecx, 0x5b9720
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48dce0
sub ecx, edx
sar ecx, 1
push ecx
push 0x5b9720
lea ecx, [ebp - 0x18]
call fcn.00402350
movups xmm0, xmmword [ebp - 0x18]
mov eax, dword [edi]
lea ecx, [ebp - 0x118]
push ecx
movups xmmword [ebp - 0x118], xmm0
mov ecx, edi
movq xmm0, qword [ebp - 8]
movq qword [ebp - 0x108], xmm0
call dword [eax + 0x154]
mov edx, dword [ebp - 0x104]
cmp edx, 8
jb 0x48dd66
mov ecx, dword [ebp - 0x118]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48dd5c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48e29d
push edx
push ecx
call fcn.00531d2c
add esp, 8
mov ebx, dword [ebp - 0x38]
xor eax, eax
cmp dword [ebx + 0xbc], eax
je 0x48dde0
push 5
push 0x5804bc
lea ecx, [ebp - 0xe0]
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0xcc], 7
mov word [ebp - 0xe0], ax
call fcn.00402e60
push 0
lea ecx, [edi + 0x3a8]
call fcn.004329e0
lea ecx, [ebp - 0xe0]
cmp eax, ecx
je 0x48ddcf
cmp dword [ebp - 0xcc], 8
push dword [ebp - 0xd0]
cmovae ecx, dword [ebp - 0xe0]
push ecx
mov ecx, eax
call fcn.00402e60
mov eax, dword [edi]
mov ecx, edi
push 0
call dword [eax + 0x2c]
lea ecx, [ebp - 0xe0]
jmp 0x48de4f
push 3
push 0x5804c8
lea ecx, [ebp - 0xf8]
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xe4], 7
mov word [ebp - 0xf8], ax
call fcn.00402e60
push 0
lea ecx, [edi + 0x3a8]
call fcn.004329e0
lea ecx, [ebp - 0xf8]
cmp eax, ecx
je 0x48de40
cmp dword [ebp - 0xe4], 8
push dword [ebp - 0xe8]
cmovae ecx, dword [ebp - 0xf8]
push ecx
mov ecx, eax
call fcn.00402e60
mov eax, dword [edi]
mov ecx, edi
push 0
call dword [eax + 0x2c]
lea ecx, [ebp - 0xf8]
call fcn.00403070
xor eax, eax
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 7
mov word [ebp - 0xc8], ax
cmp dword [ebx + 4], eax
je 0x48e06d
mov ecx, dword [ebx + 0xc]
xor edi, edi
xor ebx, ebx
mov dword [ebp - 0x40], ebx
test ecx, ecx
je 0x48dea0
mov dword [ebp - 0x40], ebx
call fcn.0040f6f0
test al, al
je 0x48dea0
mov ebx, dword [ebp - 0x38]
mov edi, dword [ebx + 0xc]
mov ebx, dword [ebx + 8]
mov dword [ebp - 0x40], ebx
mov ecx, dword [ebp - 0x68]
mov eax, dword [0x5b965c]
cmp eax, dword [ecx + 8]
jg 0x48e3ee
mov edx, dword [0x5b964c]
mov esi, edx
mov ecx, dword [ebx + 0x10]
mov dword [ebp - 0x70], ecx
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x48deed
nop dword [eax + eax]
cmp dword [eax + 0x10], ecx
jge 0x48deda
mov eax, dword [eax + 8]
jmp 0x48dede
mov esi, eax
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x48ded0
cmp esi, edx
je 0x48deed
cmp ecx, dword [esi + 0x10]
jge 0x48df21
lea eax, [ebp - 0x70]
mov ecx, 0x5b964c
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x39]
push eax
lea eax, [ebp - 0x74]
push eax
push 0x57e968
call fcn.004700f0
push eax
add eax, 0x10
mov ecx, 0x5b964c
push eax
push esi
lea eax, [ebp - 0x78]
push eax
call fcn.00470880
mov esi, dword [ebp - 0x78]
lea eax, [ebp - 0x100]
push eax
lea ecx, [esi + 0x14]
call fcn.0040ad40
mov esi, dword [ebp - 0x100]
test esi, esi
je 0x48dfa9
add esi, 0x14
mov dword [ebp - 8], 0
xor eax, eax
mov dword [ebp - 4], 7
mov word [ebp - 0x18], ax
lea ebx, [esi + 0x10]
mov eax, dword [ebx]
lea ecx, [ebp - 0x18]
add eax, 3
push eax
call fcn.0040c460
cmp dword [esi + 0x14], 8
jb 0x48df6a
mov esi, dword [esi]
push dword [ebx]
lea ecx, [ebp - 0x18]
push esi
call fcn.00402350
push 3
push 0x57f9dc
lea ecx, [ebp - 0x18]
call fcn.00402350
cmp dword [ebp - 4], 8
lea eax, [ebp - 0x18]
push dword [ebp - 8]
cmovae eax, dword [ebp - 0x18]
lea ecx, [ebp - 0xc8]
push eax
call fcn.00402350
lea ecx, [ebp - 0x18]
call fcn.00403070
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x48e01a
xor eax, eax
mov dword [ebp - 8], 0
lea esi, [ebx + 0x14]
mov word [ebp - 0x18], ax
mov eax, dword [esi + 0x10]
lea ebx, [esi + 0x10]
add eax, 2
mov dword [ebp - 4], 7
push eax
lea ecx, [ebp - 0x18]
call fcn.0040c460
cmp dword [esi + 0x14], 8
jb 0x48dfde
mov esi, dword [esi]
push dword [ebx]
lea ecx, [ebp - 0x18]
push esi
call fcn.00402350
push 2
push 0x596da8
lea ecx, [ebp - 0x18]
call fcn.00402350
cmp dword [ebp - 4], 8
lea eax, [ebp - 0x18]
push dword [ebp - 8]
cmovae eax, dword [ebp - 0x18]
lea ecx, [ebp - 0xc8]
push eax
call fcn.00402350
lea ecx, [ebp - 0x18]
call fcn.00403070
mov esi, dword [ebp - 0xfc]
test esi, esi
je 0x48e045
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x48e045
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x48e045
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
test edi, edi
je 0x48e06a
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x48e06a
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x48e06a
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov ebx, dword [ebp - 0x38]
mov edi, dword [ebp - 0x7c]
lea ecx, [ebp - 0x18]
xor eax, eax
mov dword [ebp - 8], 0
mov word [ebp - 0x18], ax
lea esi, [edi + 0x10]
mov eax, dword [esi]
add eax, 2
mov dword [ebp - 4], 7
push eax
call fcn.0040c460
cmp dword [edi + 0x14], 8
jb 0x48e09d
mov edi, dword [edi]
push dword [esi]
lea ecx, [ebp - 0x18]
push edi
call fcn.00402350
push 2
push 0x596da8
lea ecx, [ebp - 0x18]
call fcn.00402350
cmp dword [ebp - 4], 8
lea eax, [ebp - 0x18]
push dword [ebp - 8]
cmovae eax, dword [ebp - 0x18]
lea ecx, [ebp - 0xc8]
push eax
call fcn.00402350
lea ecx, [ebp - 0x18]
call fcn.00403070
xor eax, eax
mov dword [ebp - 8], 0
lea esi, [ebx + 0x48]
mov word [ebp - 0x18], ax
mov eax, dword [esi + 0x10]
lea edi, [esi + 0x10]
add eax, 2
mov dword [ebp - 4], 7
push eax
lea ecx, [ebp - 0x18]
call fcn.0040c460
cmp dword [esi + 0x14], 8
jb 0x48e10a
mov esi, dword [esi]
push dword [edi]
lea ecx, [ebp - 0x18]
push esi
call fcn.00402350
push 2
push 0x596da8
lea ecx, [ebp - 0x18]
call fcn.00402350
cmp dword [ebp - 4], 8
lea eax, [ebp - 0x18]
push dword [ebp - 8]
cmovae eax, dword [ebp - 0x18]
lea ecx, [ebp - 0xc8]
push eax
call fcn.00402350
lea ecx, [ebp - 0x18]
call fcn.00403070
cmp dword [ebx + 0xec], 0
jbe 0x48e1bf
xor eax, eax
mov dword [ebp - 8], 0
lea esi, [ebx + 0xdc]
mov word [ebp - 0x18], ax
mov eax, dword [esi + 0x10]
lea edi, [esi + 0x10]
add eax, 2
mov dword [ebp - 4], 7
push eax
lea ecx, [ebp - 0x18]
call fcn.0040c460
cmp dword [esi + 0x14], 8
jb 0x48e183
mov esi, dword [esi]
push dword [edi]
lea ecx, [ebp - 0x18]
push esi
call fcn.00402350
push 2
push 0x596da8
lea ecx, [ebp - 0x18]
call fcn.00402350
cmp dword [ebp - 4], 8
lea eax, [ebp - 0x18]
push dword [ebp - 8]
cmovae eax, dword [ebp - 0x18]
lea ecx, [ebp - 0xc8]
push eax
call fcn.00402350
lea ecx, [ebp - 0x18]
call fcn.00403070
call fcn.00478990
cmp byte [eax + 0x36], 0
je 0x48e208
push dword [ebx + 0x10c]
lea eax, [ebp - 0x118]
push 0x57f9e4
push eax
call fcn.004014d0
add esp, 0xc
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x48e1ee
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0xc8]
call fcn.00402350
lea ecx, [ebp - 0x118]
call fcn.00403070
mov ebx, dword [ebp - 0x44]
lea ecx, [ebp - 0xc8]
push ecx
mov ecx, ebx
mov eax, dword [ebx]
call dword [eax + 0x48]
mov eax, dword [ebx]
mov ecx, ebx
push 0x190
call dword [eax + 0x58]
mov edi, dword [ebp - 0x60]
push ebx
mov ecx, dword [edi + 0x258]
mov eax, dword [ecx]
call dword [eax + 0x160]
lea ecx, [ebp - 0xc8]
call fcn.00403070
lea ecx, [ebp - 0x130]
call fcn.00403070
mov esi, dword [ebp - 0x34]
test esi, esi
je 0x48e275
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x48e275
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x48e275
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ebx, dword [ebp - 0x64]
inc ebx
mov dword [ebp - 0x64], ebx
cmp ebx, dword [ebp - 0x80]
jge 0x48e289
mov ecx, dword [ebp - 0x68]
jmp 0x48d590
mov ecx, dword [edi + 0x258]
push 0
mov eax, dword [ecx]
call dword [eax + 0x2c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0055e070
push 0x5b953c
call fcn.00532174
add esp, 4
cmp dword [0x5b953c], 0xffffffff
jne 0x48d5a1
push 8
mov dword [0x5b9528], 0
mov dword [0x5b952c], 0
mov dword [0x5b9530], 0
mov dword [0x5b9534], 0
mov dword [0x5b9538], 0
call fcn.00531cfc
mov dword [0x5b9528], eax
push 0x578550
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [0x5b9528]
mov dword [eax], 0x5b9528
call fcn.00531fa2
push 0x5b953c
call fcn.0053212a
add esp, 0xc
jmp 0x48d5a1
push 0x5b968c
call fcn.00532174
add esp, 4
cmp dword [0x5b968c], 0xffffffff
jne 0x48d832
mov ecx, 0x5b9660
call fcn.0046a460
push 0x578560
call fcn.00531fa2
push 0x5b968c
call fcn.0053212a
add esp, 8
jmp 0x48d832
push 0x5b968c
call fcn.00532174
add esp, 4
cmp dword [0x5b968c], 0xffffffff
jne 0x48d894
mov ecx, 0x5b9660
call fcn.0046a460
push 0x578560
call fcn.00531fa2
push 0x5b968c
call fcn.0053212a
add esp, 8
jmp 0x48d894
push 0x5b968c
call fcn.00532174
add esp, 4
cmp dword [0x5b968c], 0xffffffff
jne 0x48d8cc
mov ecx, 0x5b9660
call fcn.0046a460
push 0x578560
call fcn.00531fa2
push 0x5b968c
call fcn.0053212a
add esp, 8
jmp 0x48d8cc
push 0x5b965c
call fcn.00532174
add esp, 4
cmp dword [0x5b965c], 0xffffffff
jne 0x48deb4
mov ecx, 0x5b9628
call fcn.004714a0
push 0x578570
call fcn.00531fa2
push 0x5b965c
call fcn.0053212a
add esp, 8
jmp 0x48deb4