Function at 0x4decd0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x513141
mov eax, dword fs:[0]
push eax
sub esp, 0x548
mov eax, dword [0x55f43c]
xor eax, ebp
mov dword [ebp - 0x50], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x54c], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x550], eax
cmp dword [ebp - 0x550], 0x21
ja 0x4ded50
cmp dword [ebp - 0x550], 0x21
je 0x4df822
mov ecx, dword [ebp - 0x550]
sub ecx, 1
mov dword [ebp - 0x550], ecx
cmp dword [ebp - 0x550], 0xe
ja case.0x4ded49.1
mov edx, dword [ebp - 0x550]
movzx eax, byte [edx + 0x4dfe58]
jmp dword [eax*4 + 0x4dfe44]
cmp dword [ebp - 0x550], 0x102
ja 0x4ded91
cmp dword [ebp - 0x550], 0x102
je 0x4df706
cmp dword [ebp - 0x550], 0x87
je 0x4df818
cmp dword [ebp - 0x550], 0x100
je 0x4df093
jmp case.0x4ded49.1
cmp dword [ebp - 0x550], 0x200
je 0x4df083
jmp case.0x4ded49.1
mov ecx, dword [ebp - 0x54c]
cmp dword [ecx + 0x90], 0
jne 0x4dedcc
mov ecx, dword [ebp - 0x54c]
call fcn.0047b290
mov edx, dword [ebp - 0x54c]
mov dword [edx + 0x90], eax
jmp case.0x4ded49.1
mov eax, dword [ebp - 0x54c]
cmp dword [eax + 0x90], 0
jne 0x4dedf7
mov ecx, dword [ebp - 0x54c]
call fcn.0047b290
mov ecx, dword [ebp - 0x54c]
mov dword [ecx + 0x90], eax
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x54c]
call sub.mfc100.dll_Ordinal_13294
mov edx, dword [ebp - 0x54c]
mov dword [edx + 0x84], 0
mov eax, dword [ebp - 0x54c]
mov dword [eax + 0x7c], 0
mov ecx, dword [ebp - 0x54c]
mov dword [ecx + 0x80], 0
push 0
push 0
mov ecx, dword [ebp - 0x54c]
call sub.mfc100.dll_Ordinal_6971
push eax
mov ecx, dword [ebp - 0x54c]
call fcn.004592a0
mov edx, dword [ebp - 0x54c]
mov ecx, dword [edx + 0x90]
add ecx, 0x478
call fcn.004c7200
test eax, eax
je 0x4dee7e
push 1
mov ecx, dword [ebp - 0x54c]
call fcn.004e01d0
xor eax, eax
jmp 0x4dfe26
push 0
mov ecx, dword [ebp - 0x54c]
call fcn.004e01d0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x54c]
call sub.mfc100.dll_Ordinal_13294
mov eax, dword [ebp + 0xc]
push eax
call sub.mfc100.dll_Ordinal_4345
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0x54c]
call fcn.0047b2b0
mov edx, dword [ebp - 0x54c]
mov eax, dword [edx + 0x90]
mov ecx, dword [eax + 0x2d0]
cmp dword [ecx + 0x264], 0
je 0x4def2e
mov ecx, dword [ebp - 0x10]
call fcn.00458c40
test eax, eax
je 0x4def21
mov edx, dword [ebp - 0x54c]
mov eax, dword [ebp - 0x10]
cmp eax, dword [edx + 0x90]
je 0x4def1f
mov ecx, dword [ebp - 0x10]
call fcn.0047b290
mov ecx, dword [ebp - 0x54c]
cmp eax, dword [ecx + 0x90]
je 0x4def1f
mov edx, dword [ebp - 0x54c]
mov dword [edx + 0x7c], 1
jmp 0x4def2e
mov eax, dword [ebp - 0x54c]
mov dword [eax + 0x7c], 1
mov ecx, dword [ebp - 0x54c]
mov edx, dword [ebp - 0x10]
cmp edx, dword [ecx + 0x90]
je 0x4def67
mov eax, dword [ebp - 0x10]
push eax
push 1
mov ecx, dword [ebp - 0x54c]
mov edx, dword [ecx + 0x90]
mov eax, dword [ebp - 0x54c]
mov ecx, dword [eax + 0x90]
mov edx, dword [edx]
mov eax, dword [edx + 0x280]
call eax
mov ecx, dword [ebp - 0x10]
call fcn.00458c40
test eax, eax
je 0x4defa2
mov ecx, dword [ebp - 0x54c]
mov edx, dword [ebp - 0x10]
cmp edx, dword [ecx + 0x90]
jne 0x4defa2
mov eax, dword [ebp - 0x54c]
mov ecx, dword [eax + 0x90]
mov ecx, dword [ecx + 0x2d4]
call fcn.00458c40
push eax
call dword [sym.imp.USER32.dll_SetFocus]
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc100.dll_Ordinal_316]
mov dword [ebp - 4], 0
lea edx, [ebp - 0x14]
push edx
mov ecx, dword [ebp - 0x54c]
call sub.mfc100.dll_Ordinal_6970
mov eax, dword [ebp - 0x54c]
mov ecx, dword [eax + 0x78]
push ecx
mov edx, dword [ebp - 0x54c]
mov eax, dword [edx + 0x74]
push eax
mov ecx, dword [ebp - 0x54c]
mov edx, dword [ecx + 0x80]
push edx
mov eax, dword [ebp - 0x54c]
mov ecx, dword [eax + 0x7c]
push ecx
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
mov edx, dword [ebp - 0x54c]
mov ecx, dword [edx + 0x90]
call fcn.004ce290
test eax, eax
jne 0x4df05e
mov eax, dword [ebp - 0x54c]
mov ecx, dword [eax + 0x90]
mov edx, dword [ecx + 0x468]
push edx
mov eax, dword [ebp - 0x54c]
mov ecx, dword [eax + 0x90]
mov edx, dword [ecx + 0x46c]
push edx
mov eax, dword [ebp - 0x54c]
mov ecx, dword [eax + 0x90]
call fcn.004d1e50
mov ecx, dword [ebp - 0x54c]
call fcn.004cc000
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov ecx, dword [ebp - 0x54c]
call sub.mfc100.dll_Ordinal_12344
mov dword [ebp - 0x520], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov eax, dword [ebp - 0x520]
jmp 0x4dfe26
mov ecx, dword [ebp - 0x54c]
call fcn.004dfee0
jmp case.0x4ded49.1
mov ecx, dword [ebp - 0x54c]
mov edx, dword [ebp + 0xc]
mov dword [ecx + 0x84], edx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x554], eax
mov ecx, dword [ebp - 0x554]
sub ecx, 9
mov dword [ebp - 0x554], ecx
cmp dword [ebp - 0x554], 0x25
ja case.0x4df0d4.1
mov edx, dword [ebp - 0x554]
movzx eax, byte [edx + 0x4dfe8c]
jmp dword [eax*4 + 0x4dfe68]
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
test ecx, ecx
jge 0x4df125
mov edx, dword [ebp - 0x54c]
mov eax, dword [edx + 0x90]
mov ecx, dword [eax + 0x46c]
sub ecx, 1
mov edx, dword [ebp - 0x54c]
mov dword [edx + 0x74], ecx
mov eax, dword [ebp - 0x54c]
mov ecx, dword [eax + 0x90]
mov edx, dword [ebp - 0x54c]
mov eax, dword [ecx + 0x468]
mov dword [edx + 0x78], eax
jmp 0x4df15e
mov ecx, dword [ebp - 0x54c]
mov edx, dword [ecx + 0x90]
mov eax, dword [edx + 0x46c]
add eax, 1
mov ecx, dword [ebp - 0x54c]
mov dword [ecx + 0x74], eax
mov edx, dword [ebp - 0x54c]
mov eax, dword [edx + 0x90]
mov ecx, dword [ebp - 0x54c]
mov edx, dword [eax + 0x468]
mov dword [ecx + 0x78], edx
mov eax, dword [ebp - 0x54c]
mov dword [eax + 0x80], 1
mov ecx, dword [ebp - 0x54c]
mov ecx, dword [ecx + 0x90]
call sub.mfc100.dll_Ordinal_12344
xor eax, eax
jmp 0x4dfe26
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
test edx, edx
jge 0x4df1b8
mov eax, dword [ebp - 0x54c]
mov ecx, dword [eax + 0x90]
add ecx, 0x478
call fcn.004c72c0
and eax, 2
je 0x4df1b8
xor eax, eax
jmp 0x4dfe26
mov ecx, dword [ebp - 0x54c]
mov edx, dword [ecx + 0x90]
mov eax, dword [ebp - 0x54c]
mov ecx, dword [edx + 0x46c]
mov dword [eax + 0x74], ecx
mov edx, dword [ebp - 0x54c]
mov eax, dword [edx + 0x90]
mov ecx, dword [eax + 0x468]
add ecx, 1
mov edx, dword [ebp - 0x54c]
mov dword [edx + 0x78], ecx
mov eax, dword [ebp - 0x54c]
mov dword [eax + 0x80], 1
mov ecx, dword [ebp - 0x54c]
mov ecx, dword [ecx + 0x90]
call sub.mfc100.dll_Ordinal_12344
call fcn.004f6540
movzx edx, al
test edx, edx
je 0x4df229
mov ecx, dword [ebp - 0x54c]
call fcn.004dfee0
xor eax, eax
jmp 0x4dfe26
mov eax, dword [ebp - 0x54c]
mov dword [eax + 0x7c], 1
mov ecx, dword [ebp - 0x54c]
mov dword [ecx + 0x80], 0
mov edx, dword [ebp - 0x54c]
mov ecx, dword [edx + 0x90]
call sub.mfc100.dll_Ordinal_12344
xor eax, eax
jmp 0x4dfe26
mov eax, dword [ebp - 0x54c]
mov ecx, dword [eax + 0x90]
mov edx, dword [ebp - 0x54c]
mov eax, dword [ecx + 0x46c]
mov dword [edx + 0x74], eax
mov ecx, dword [ebp - 0x54c]
mov edx, dword [ecx + 0x90]
mov eax, dword [edx + 0x468]
sub eax, 1
mov ecx, dword [ebp - 0x54c]
mov dword [ecx + 0x78], eax
mov edx, dword [ebp - 0x54c]
mov dword [edx + 0x80], 1
mov eax, dword [ebp - 0x54c]
mov ecx, dword [eax + 0x90]
call sub.mfc100.dll_Ordinal_12344
call fcn.004f6540
movzx ecx, al
test ecx, ecx
je 0x4df2d6
mov ecx, dword [ebp - 0x54c]
call fcn.004dfee0
xor eax, eax
jmp 0x4dfe26
mov edx, dword [ebp - 0x54c]
mov eax, dword [edx + 0x90]
mov ecx, dword [ebp - 0x54c]
mov edx, dword [eax + 0x46c]
mov dword [ecx + 0x74], edx
mov eax, dword [ebp - 0x54c]
mov ecx, dword [eax + 0x90]
mov edx, dword [ecx + 0x468]
add edx, 1
mov eax, dword [ebp - 0x54c]
mov dword [eax + 0x78], edx
mov ecx, dword [ebp - 0x54c]
mov dword [ecx + 0x80], 1
mov edx, dword [ebp - 0x54c]
mov ecx, dword [edx + 0x90]
call sub.mfc100.dll_Ordinal_12344
call fcn.004f6540
movzx eax, al
test eax, eax
je 0x4df34e
mov ecx, dword [ebp - 0x54c]
call fcn.004dfee0
xor eax, eax
jmp 0x4dfe26
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc100.dll_Ordinal_316]
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x54c]
call sub.mfc100.dll_Ordinal_6970
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc100.dll_Ordinal_5207]
mov dword [ebp - 0x24], eax
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x54c]
call fcn.004e0160
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [ebp - 0x1c]
jne 0x4df446
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ebp - 0x24]
jne 0x4df446
mov eax, dword [ebp - 0x54c]
mov ecx, dword [eax + 0x90]
mov edx, dword [ecx + 0x46c]
add edx, 1
mov eax, dword [ebp - 0x54c]
mov dword [eax + 0x74], edx
mov ecx, dword [ebp - 0x54c]
mov edx, dword [ecx + 0x90]
mov eax, dword [ebp - 0x54c]
mov ecx, dword [edx + 0x468]
mov dword [eax + 0x78], ecx
mov edx, dword [ebp - 0x54c]
mov dword [edx + 0x80], 1
mov eax, dword [ebp - 0x54c]
mov ecx, dword [eax + 0x90]
call sub.mfc100.dll_Ordinal_12344
call fcn.004f6540
movzx ecx, al
test ecx, ecx
je 0x4df41c
mov ecx, dword [ebp - 0x54c]
call fcn.004dfee0
mov dword [ebp - 0x524], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov eax, dword [ebp - 0x524]
jmp 0x4dfe26
cmp dword [ebp - 0x20], 0
jne 0x4df4f2
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ebp - 0x24]
jne 0x4df4f2
mov eax, dword [ebp - 0x54c]
mov ecx, dword [eax + 0x90]
mov edx, dword [ecx + 0x46c]
add edx, 1
mov eax, dword [ebp - 0x54c]
mov dword [eax + 0x74], edx
mov ecx, dword [ebp - 0x54c]
mov edx, dword [ecx + 0x90]
mov eax, dword [ebp - 0x54c]
mov ecx, dword [edx + 0x468]
mov dword [eax + 0x78], ecx
mov edx, dword [ebp - 0x54c]
mov dword [edx + 0x80], 1
mov eax, dword [ebp - 0x54c]
mov ecx, dword [eax + 0x90]
call sub.mfc100.dll_Ordinal_12344
call fcn.004f6540
movzx ecx, al
test ecx, ecx
je 0x4df4cd
mov ecx, dword [ebp - 0x54c]
call fcn.004dfee0
mov dword [ebp - 0x528], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov eax, dword [ebp - 0x528]
jmp 0x4dfe26
call fcn.004f6540
movzx edx, al
test edx, edx
je 0x4df50b
push 1
mov ecx, dword [ebp - 0x54c]
call fcn.00458dd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc100.dll_Ordinal_901]
jmp case.0x4df0d4.1
lea ecx, [ebp - 0x28]
call dword [sym.imp.mfc100.dll_Ordinal_316]
mov dword [ebp - 4], 2
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x54c]
call sub.mfc100.dll_Ordinal_6970
lea ecx, [ebp - 0x28]
call dword [sym.imp.mfc100.dll_Ordinal_5207]
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x30]
push edx
mov ecx, dword [ebp - 0x54c]
call fcn.004e0160
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x2c]
jne 0x4df60a
cmp dword [ebp - 0x30], 0
jne 0x4df60a
mov ecx, dword [ebp - 0x54c]
mov edx, dword [ecx + 0x90]
mov eax, dword [edx + 0x46c]
sub eax, 1
mov ecx, dword [ebp - 0x54c]
mov dword [ecx + 0x74], eax
mov edx, dword [ebp - 0x54c]
mov eax, dword [edx + 0x90]
mov ecx, dword [ebp - 0x54c]
mov edx, dword [eax + 0x468]
mov dword [ecx + 0x78], edx
mov eax, dword [ebp - 0x54c]
mov dword [eax + 0x80], 1
mov ecx, dword [ebp - 0x54c]
mov ecx, dword [ecx + 0x90]
call sub.mfc100.dll_Ordinal_12344
call fcn.004f6540
movzx edx, al
test edx, edx
je 0x4df5e5
mov ecx, dword [ebp - 0x54c]
call fcn.004dfee0
mov dword [ebp - 0x52c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov eax, dword [ebp - 0x52c]
jmp 0x4dfe26
call fcn.004f6540
movzx eax, al
test eax, eax
je 0x4df623
push 1
mov ecx, dword [ebp - 0x54c]
call fcn.00458dd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call dword [sym.imp.mfc100.dll_Ordinal_901]
jmp case.0x4df0d4.1
mov dword [ebp - 0x40], 0x7f
mov ecx, dword [ebp - 0x54c]
mov ecx, dword [ecx + 0x90]
call fcn.004d6a50
mov dword [ebp - 0x38], eax
mov edx, dword [ebp - 0x54c]
mov ecx, dword [edx + 0x90]
call fcn.004d6a70
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x54c]
push ecx
mov edx, dword [ebp - 0x3c]
push edx
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x54c]
mov edx, dword [ecx + 0x90]
mov eax, dword [edx + 0x2d0]
mov ecx, dword [eax + 0x22c]
mov edx, dword [ebp - 0x54c]
mov eax, dword [edx + 0x90]
mov edx, dword [eax + 0x2d0]
mov eax, dword [edx + 0x22c]
mov edx, dword [ecx]
mov ecx, eax
mov eax, dword [edx + 0x98]
call eax
test eax, eax
jne 0x4df6c1
xor eax, eax
jmp 0x4dfe26
lea ecx, [ebp - 0x40]
push ecx
mov edx, dword [ebp - 0x54c]
push edx
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x38]
push ecx
mov edx, dword [ebp - 0x54c]
mov eax, dword [edx + 0x90]
mov ecx, dword [ebp - 0x54c]
mov ecx, dword [ecx + 0x90]
mov edx, dword [eax]
mov eax, dword [edx + 0x230]
call eax
test eax, eax
jne case.0x4df0d4.1
xor eax, eax
jmp 0x4dfe26
jmp case.0x4ded49.1
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x4c], ecx
mov edx, dword [ebp - 0x54c]
mov eax, dword [ebp - 0x4c]
mov dword [edx + 0x84], eax
cmp dword [ebp - 0x4c], 9
je 0x4df72d
cmp dword [ebp - 0x4c], 0xd
je 0x4df72d
cmp dword [ebp - 0x4c], 0x1b
jne 0x4df734
xor eax, eax
jmp 0x4dfe26
mov ecx, dword [ebp - 0x54c]
mov ecx, dword [ecx + 0x90]
call fcn.004d6a50
mov dword [ebp - 0x44], eax
mov edx, dword [ebp - 0x54c]
mov ecx, dword [edx + 0x90]
call fcn.004d6a70
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0x54c]
push ecx
mov edx, dword [ebp - 0x48]
push edx
mov eax, dword [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x54c]
mov edx, dword [ecx + 0x90]
mov eax, dword [edx + 0x2d0]
mov ecx, dword [eax + 0x22c]
mov edx, dword [ebp - 0x54c]
mov eax, dword [edx + 0x90]
mov edx, dword [eax + 0x2d0]
mov eax, dword [edx + 0x22c]
mov edx, dword [ecx]
mov ecx, eax
mov eax, dword [edx + 0x98]
call eax
test eax, eax
jne 0x4df7b6
xor eax, eax
jmp 0x4dfe26
lea ecx, [ebp - 0x4c]
push ecx
mov edx, dword [ebp - 0x54c]
push edx
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x44]
push ecx
mov edx, dword [ebp - 0x54c]
mov eax, dword [edx + 0x90]
mov ecx, dword [ebp - 0x54c]
mov ecx, dword [ecx + 0x90]
mov edx, dword [eax]
mov eax, dword [edx + 0x230]
call eax
test eax, eax
jne 0x4df7f6
xor eax, eax
jmp 0x4dfe26
mov ecx, dword [ebp - 0x4c]
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x54c]
call sub.mfc100.dll_Ordinal_13294
jmp 0x4dfe26
mov eax, 5
jmp 0x4dfe26
mov eax, 1
jmp 0x4dfe26
call fcn.004e0050
movzx edx, al
test edx, edx
jne 0x4df83d
jmp case.0x4ded49.1
lea eax, [ebp - 0xa4]
push eax
mov ecx, dword [ebp - 0x54c]
call fcn.004e00e0
mov dword [ebp - 0xa8], eax
lea ecx, [ebp - 0x60]
push ecx
mov ecx, dword [ebp - 0x54c]
call fcn.00434180
lea edx, [ebp - 0x60]
push edx
mov ecx, dword [ebp - 0x54c]
call sub.mfc100.dll_Ordinal_11882
push 0
lea eax, [ebp - 0x60]
push eax
push 6
push 0x10
mov ecx, dword [ebp - 0xa8]
call fcn.004c5a90
push eax
mov ecx, dword [ebp - 0x54c]
mov edx, dword [ecx + 0x20]
push edx
call fcn.004f7020
add esp, 0x18
movzx eax, al
test eax, eax
je 0x4dfdfd
lea ecx, [ebp - 0xb4]
call dword [sym.imp.mfc100.dll_Ordinal_316]
mov dword [ebp - 4], 3
lea ecx, [ebp - 0xb4]
push ecx
mov ecx, dword [ebp - 0x54c]
call sub.mfc100.dll_Ordinal_6970
mov ecx, dword [ebp - 0x54c]
call fcn.004b5320
push eax
mov edx, dword [ebp - 0xa8]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xa8]
mov edx, dword [eax + 0x30]
call edx
mov dword [ebp - 0xac], eax
push 1
mov ecx, dword [ebp - 0xa8]
call sub.mfc100.dll_Ordinal_12128
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0xd8], eax
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0xd4], ecx
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0xd0], edx
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0xcc], eax
mov ecx, dword [ebp - 0xd8]
add ecx, 2
mov dword [ebp - 0xd8], ecx
mov edx, dword [ebp - 0xd4]
add edx, 2
mov dword [ebp - 0xd4], edx
mov eax, dword [ebp - 0xd4]
push eax
mov ecx, dword [ebp - 0xd8]
push ecx
lea ecx, [ebp - 0x534]
call fcn.004b8170
mov edx, dword [eax + 4]
push edx
mov eax, dword [eax]
push eax
mov ecx, dword [ebp - 0x54c]
call fcn.004e0230
and eax, 0xffff
movzx ecx, ax
mov dword [ebp - 0xec], ecx
lea edx, [ebp - 0xdc]
push edx
lea eax, [ebp - 0xc8]
push eax
mov ecx, dword [ebp - 0x54c]
call fcn.004e0160
mov ecx, dword [ebp - 0xc8]
xor edx, edx
cmp ecx, dword [ebp - 0xdc]
setne dl
mov byte [ebp - 0xe5], dl
mov eax, dword [ebp - 0xc8]
sub eax, dword [ebp - 0xec]
mov dword [ebp - 0xc8], eax
mov ecx, dword [ebp - 0xdc]
sub ecx, dword [ebp - 0xec]
mov dword [ebp - 0xdc], ecx
lea edx, [ebp - 0xd8]
push edx
lea eax, [ebp - 0xc4]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
mov ecx, dword [ebp - 0x54c]
call fcn.004e0130
mov dword [ebp - 0xb0], eax
mov ecx, dword [ebp - 0xec]
mov dword [ebp - 0xe0], ecx
mov ecx, dword [ebp - 0xa8]
call fcn.004e00c0
mov dword [ebp - 0xe4], eax
mov ecx, dword [ebp - 0x54c]
call fcn.004e0200
mov dword [ebp - 0x4f0], eax
jmp 0x4dfa30
mov edx, dword [ebp - 0x4f0]
add edx, 1
mov dword [ebp - 0x4f0], edx
mov eax, dword [ebp - 0x4f0]
cmp eax, dword [ebp - 0xb0]
jge 0x4dfdac
push 0x400
lea ecx, [ebp - 0x4ec]
push ecx
mov edx, dword [ebp - 0x4f0]
push edx
mov ecx, dword [ebp - 0x54c]
call fcn.004e0190
mov dword [ebp - 0x4f8], eax
mov ecx, dword [ebp - 0x54c]
call sub.mfc100.dll_Ordinal_6213
and eax, 0x20
je 0x4dfa8e
mov eax, dword [ebp - 0x4f8]
push eax
push 0x2a
lea ecx, [ebp - 0x4ec]
push ecx
call sub.MSVCR100.dll_memset
add esp, 0xc
mov edx, dword [ebp - 0x4f8]
mov byte [ebp + edx - 0x4ec], 0
lea eax, [ebp - 0x4ec]
push eax
lea ecx, [ebp - 0x538]
call dword [sym.imp.mfc100.dll_Ordinal_310]
mov byte [ebp - 4], 4
push 0
lea ecx, [ebp - 0xd8]
push ecx
lea edx, [ebp - 0x538]
push edx
mov ecx, dword [ebp - 0xa8]
call fcn.00492360
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x538]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea eax, [ebp - 0x4ec]
push eax
lea ecx, [ebp - 0x53c]
call dword [sym.imp.mfc100.dll_Ordinal_310]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x53c]
push ecx
lea edx, [ebp - 0x500]
push edx
mov ecx, dword [ebp - 0xa8]
call fcn.004923a0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x53c]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea eax, [ebp - 0x4ec]
push eax
lea ecx, [ebp - 0x4f4]
call dword [sym.imp.mfc100.dll_Ordinal_310]
mov byte [ebp - 4], 6
push 0x400
push 0
lea ecx, [ebp - 0x4ec]
push ecx
call sub.MSVCR100.dll_memset
add esp, 0xc
mov edx, dword [ebp - 0xd4]
add edx, dword [ebp - 0x4fc]
mov dword [ebp - 0xd4], edx
mov eax, dword [ebp - 0xe0]
add eax, dword [ebp - 0x4f8]
cmp eax, dword [ebp - 0xc8]
jl 0x4dfced
movzx ecx, byte [ebp - 0xe5]
test ecx, ecx
je 0x4dfced
push 2
mov ecx, dword [ebp - 0xa8]
call sub.mfc100.dll_Ordinal_12128
push 0xd00000
mov edx, dword [ebp - 0xa8]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xa8]
mov edx, dword [eax + 0x34]
call edx
mov eax, dword [ebp - 0xc8]
sub eax, dword [ebp - 0xe0]
push eax
lea ecx, [ebp - 0x510]
push ecx
lea ecx, [ebp - 0x4f4]
call dword [sym.imp.mfc100.dll_Ordinal_7487]
mov byte [ebp - 4], 7
lea edx, [ebp - 0x510]
push edx
lea eax, [ebp - 0x50c]
push eax
mov ecx, dword [ebp - 0xa8]
call fcn.004923a0
mov ecx, dword [ebp - 0xdc]
sub ecx, dword [ebp - 0xc8]
push ecx
mov edx, dword [ebp - 0xc8]
sub edx, dword [ebp - 0xe0]
push edx
lea eax, [ebp - 0x504]
push eax
lea ecx, [ebp - 0x4f4]
call dword [sym.imp.mfc100.dll_Ordinal_7876]
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0xc4]
add ecx, dword [ebp - 0x50c]
mov dword [ebp - 0xc4], ecx
push 0
lea edx, [ebp - 0xc4]
push edx
lea eax, [ebp - 0x504]
push eax
mov ecx, dword [ebp - 0xa8]
call fcn.00492360
mov ecx, dword [ebp - 0xd8]
mov dword [ebp - 0xc4], ecx
cmp dword [ebp - 0x508], 0
jne 0x4dfc83
lea edx, [ebp - 0x504]
push edx
lea eax, [ebp - 0x544]
push eax
mov ecx, dword [ebp - 0xa8]
call fcn.004923a0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0x50c], ecx
mov dword [ebp - 0x508], edx
mov eax, dword [ebp - 0xc0]
add eax, dword [ebp - 0x508]
mov dword [ebp - 0xc0], eax
push 1
mov ecx, dword [ebp - 0xa8]
call sub.mfc100.dll_Ordinal_12128
mov ecx, dword [ebp - 0xe4]
push ecx
mov edx, dword [ebp - 0xa8]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xa8]
mov edx, dword [eax + 0x34]
call edx
mov eax, dword [ebp - 0xdc]
sub eax, 2
mov dword [ebp - 0xdc], eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x504]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x510]
call dword [sym.imp.mfc100.dll_Ordinal_901]
jmp 0x4dfd4d
mov ecx, dword [ebp - 0x4f8]
push ecx
mov edx, dword [ebp - 0xe0]
push edx
lea eax, [ebp - 0x514]
push eax
lea ecx, [ebp - 0xb4]
call dword [sym.imp.mfc100.dll_Ordinal_7876]
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x514]
push ecx
lea edx, [ebp - 0x51c]
push edx
mov ecx, dword [ebp - 0xa8]
call fcn.004923a0
mov eax, dword [ebp - 0xc0]
add eax, dword [ebp - 0x518]
mov dword [ebp - 0xc0], eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x514]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov ecx, dword [ebp - 0xe0]
add ecx, dword [ebp - 0x4f8]
mov dword [ebp - 0xe0], ecx
mov edx, dword [ebp - 0xc8]
cmp edx, dword [ebp - 0xe0]
jge 0x4dfd79
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0xc8], eax
mov ecx, dword [ebp - 0xc8]
sub ecx, 2
mov dword [ebp - 0xc8], ecx
mov edx, dword [ebp - 0xdc]
sub edx, 2
mov dword [ebp - 0xdc], edx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x4f4]
call dword [sym.imp.mfc100.dll_Ordinal_901]
jmp 0x4dfa21
mov eax, dword [ebp - 0xac]
push eax
mov ecx, dword [ebp - 0xa8]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0xa8]
mov eax, dword [edx + 0x30]
call eax
lea ecx, [ebp - 0xa4]
push ecx
mov ecx, dword [ebp - 0x54c]
call fcn.004e0110
mov dword [ebp - 0x548], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb4]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov eax, dword [ebp - 0x548]
jmp 0x4dfe26
lea edx, [ebp - 0xa4]
push edx
mov ecx, dword [ebp - 0x54c]
call fcn.004e0110
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x54c]
call sub.mfc100.dll_Ordinal_13294
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x50]
xor ecx, ebp
call fcn.00501b98
mov esp, ebp
pop ebp
ret 0xc