Function at 0x4d1bb0
Capabilities:
Log keystrokes via polling
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5f046d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x15c
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov dword [esp + 0x78], ebp
mov eax, dword [ebp + 0x5c]
cmp dword [eax + 0x354], 1
je 0x4d306e
mov ecx, dword [eax + 0x350]
xor ebx, ebx
cmp ecx, ebx
jne 0x4d306e
lea ecx, [esp + 0x34]
call fcn.004918b0
mov eax, dword [ebp + 0xc8]
mov edi, dword [esp + 0x17c]
mov ecx, eax
mov dword [esp + 0x174], ebx
shr ecx, 2
cmp ecx, 2
mov dword [esp + 0x54], ebx
jl 0x4d1d6c
mov edx, dword [esp + 0x180]
mov cl, byte [edi]
cmp edx, ebx
je 0x4d1c52
test cl, cl
je 0x4d1c52
mov dl, byte [edi + 1]
test dl, dl
jne 0x4d1c52
cmp cl, 8
je 0x4d1c46
cmp cl, 1
jne 0x4d1c52
mov ecx, ebp
call fcn.004c8cb0
jmp 0x4d3052
mov ecx, dword [ebp + 0x7c]
mov edx, dword [ebp + 0x78]
mov esi, dword [ebp + 0x74]
mov dword [esp + 0x18], ecx
mov ecx, dword [ebp + 0xc8]
mov dword [esp + 0x20], edx
mov edx, dword [ebp + 0x80]
cmp ecx, ebx
mov dword [esp + 0x50], edx
jne 0x4d1c7b
xor edx, edx
jmp 0x4d1c81
mov edx, dword [ebp + 0xc0]
shr eax, 3
xor edi, edi
xor ebx, ebx
test eax, eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x14], esi
jle 0x4d1cc9
mov ecx, dword [edx]
mov eax, dword [esp + 0x14]
cmp eax, ecx
jl 0x4d1ca2
mov dword [esp + 0x14], ecx
cmp esi, ecx
jl 0x4d1cab
cmp esi, dword [edx + 4]
jle 0x4d1cc6
mov eax, dword [edx + 4]
cmp esi, eax
jle 0x4d1cb8
sub eax, ecx
lea edi, [edi + eax + 1]
mov eax, dword [esp + 0x4c]
add edx, 8
inc ebx
cmp ebx, eax
jl 0x4d1c94
jmp 0x4d1cc9
or esi, 0xffffffff
mov ecx, ebp
call fcn.004c8cb0
push 0
push 0
lea eax, [esp + 0x3c]
push 0
push eax
mov ecx, ebp
call fcn.0049b470
cmp esi, 0xffffffff
push 0
push 0
je 0x4d1d34
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x3c]
push ecx
sub esi, edi
push edx
push esi
mov ecx, ebp
call fcn.004c63e0
mov esi, dword [esp + 0x50]
lea eax, [esp + 0x34]
push 1
push eax
push 1
push esi
mov ecx, ebp
call fcn.004b67f0
mov eax, dword [esp + 0x18]
cmp eax, esi
jne 0x4d1d27
mov ecx, dword [ebp + 0x80]
mov dword [ebp + 0x7c], ecx
jmp 0x4d1d65
mov dword [ebp + 0x7c], eax
mov dword [esp + 0x54], 1
jmp 0x4d1d65
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x3c]
push edx
push 0
push eax
mov ecx, ebp
call fcn.004c63e0
lea ecx, [esp + 0x34]
push 0
push ecx
push 0
push 0
mov ecx, ebp
call fcn.004b67f0
lea edx, [esp + 0x34]
mov ecx, ebp
push edx
call fcn.004d0fa0
mov edi, dword [esp + 0x17c]
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x4d1d86
push 0
push 0
lea eax, [esp + 0x3c]
push 0
push eax
mov ecx, ebp
call fcn.0049b470
mov ecx, dword [0x6707bc]
mov dword [esp + 0x10], ecx
lea edx, [esp + 0x34]
lea eax, [esp + 0x58]
push edx
mov edx, dword [ebp + 0x78]
push eax
mov eax, dword [ebp + 0x74]
lea ecx, [esp + 0x18]
push 0
push ecx
push edx
push eax
mov ecx, ebp
mov byte [esp + 0x18c], 1
call fcn.004b6400
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x4c], ebx
je 0x4d3041
mov eax, dword [esp + 0x54]
test eax, eax
je 0x4d1de8
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x58]
mov eax, dword [ebp + 0x7c]
push 1
push ecx
push edx
push eax
mov ecx, ebp
call fcn.004b6950
mov dword [ebp + 0x7c], eax
mov eax, dword [ebx + 4]
test eax, eax
mov eax, dword [esp + 0x180]
je 0x4d1e15
test eax, eax
je 0x4d2ff6
cmp byte [edi], 0xd
jne 0x4d2ff6
push 1
mov ecx, ebp
call fcn.004a3af0
jmp 0x4d3041
test eax, eax
je 0x4d1e1e
cmp byte [edi], 0xd
je 0x4d1e2e
push ebx
mov ecx, ebp
call fcn.004d1880
test eax, eax
je 0x4d3041
mov ecx, dword [esp + 0x58]
test ecx, ecx
jle 0x4d1e71
mov edx, dword [esp + 0x10]
mov eax, dword [edx - 8]
sub eax, ecx
lea ecx, [esp + 0x10]
push eax
lea eax, [esp + 0x24]
push eax
call fcn.005b87f2
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x178], 2
call fcn.005bc55a
lea ecx, [esp + 0x20]
mov byte [esp + 0x174], 1
call fcn.005bc421
mov ecx, ebx
call fcn.004b5d80
mov edx, dword [ebx]
xor ecx, ecx
cmp eax, 0xd
push edx
sete cl
mov esi, ecx
mov dword [esp + 0x34], esi
call fcn.004ca860
mov ecx, dword [0x6756d4]
add esp, 4
test ecx, ecx
mov dword [esp + 0x24], eax
je 0x4d1ed3
cmp byte [edi], 0x20
jne 0x4d1ed3
mov cl, byte [edi + 1]
test cl, cl
jne 0x4d1ed3
mov ecx, dword [esp + 0x180]
test ecx, ecx
je 0x4d1ed3
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx - 8]
test edx, edx
jne 0x4d1ed3
cmp eax, 1
je 0x4d3041
cmp eax, 5
je 0x4d3041
mov dword [esp + 0x90], 0
mov edx, dword [ebx + 8]
mov dword [esp + 0x84], edx
mov eax, dword [ebx]
test esi, esi
mov dword [esp + 0x8c], eax
je 0x4d1f47
mov edi, dword [ebx + 0x2c]
mov ecx, dword [ebx + 0x28]
mov dword [esp + 0x20], ecx
mov eax, dword [edi + 0x68]
test eax, eax
jne 0x4d1f0a
xor eax, eax
jmp 0x4d1f0d
mov eax, dword [edi + 0x60]
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x88], eax
mov ecx, dword [edi + 0xcc]
test ecx, ecx
jne 0x4d1f32
xor ecx, ecx
mov ecx, eax
mov dword [esp + 0x2c], ecx
mov ecx, dword [ebx + 8]
mov dword [esp + 0x54], ecx
jmp 0x4d1f56
mov ecx, dword [edi + 0xc4]
add ecx, eax
mov dword [esp + 0x2c], ecx
mov ecx, dword [ebx + 8]
mov dword [esp + 0x54], ecx
jmp 0x4d1f56
mov edi, dword [esp + 0x24]
mov dword [esp + 0x88], 0
mov edx, dword [esp + 0x58]
lea eax, [esp + 0x80]
push edx
lea ecx, [esp + 0x80]
push eax
push ecx
mov ecx, ebp
call fcn.004ce770
test eax, eax
je 0x4d2026
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x80]
lea ecx, [esp + 0x10]
mov eax, dword [edx - 8]
sub eax, esi
push eax
lea eax, [esp + 0x60]
push eax
call fcn.005b87f2
mov esi, eax
mov ecx, dword [esp + 0x7c]
lea edx, [esp + 0x18]
push ecx
push edx
lea ecx, [esp + 0x18]
mov byte [esp + 0x17c], 3
call fcn.005b886e
push esi
push eax
lea eax, [esp + 0x58]
mov bl, 4
push eax
mov byte [esp + 0x180], bl
call fcn.005bc650
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x178], 5
call fcn.005bc55a
lea ecx, [esp + 0x50]
mov byte [esp + 0x174], bl
call fcn.005bc421
lea ecx, [esp + 0x18]
mov byte [esp + 0x174], 3
call fcn.005bc421
lea ecx, [esp + 0x5c]
mov byte [esp + 0x174], 1
call fcn.005bc421
mov esi, dword [esp + 0x7c]
mov ebx, dword [esp + 0x4c]
mov ecx, 1
mov dword [esp + 0x18], 0
jmp 0x4d203f
mov esi, dword [ebp + 0x80]
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x180]
sub esi, eax
xor ecx, ecx
mov dword [esp + 0x18], edx
test esi, esi
jge 0x4d2047
xor esi, esi
jmp 0x4d2054
mov eax, dword [esp + 0x10]
mov eax, dword [eax - 8]
cmp esi, eax
jle 0x4d2054
mov esi, eax
mov eax, dword [esp + 0x180]
test eax, eax
je 0x4d2ee2
mov edx, dword [esp + 0x17c]
mov dl, byte [edx]
test dl, dl
je 0x4d2ee2
mov eax, dword [esp + 0x17c]
mov ax, word [eax]
cmp ax, 1
je 0x4d2bd6
cmp ax, 8
je 0x4d2bd6
cmp ax, 0xd
jne 0x4d2bc8
mov ecx, ebx
call fcn.004b5d80
cmp eax, 0xd
jne 0x4d2b3c
test esi, esi
jne 0x4d20d8
push esi
mov ecx, ebp
call fcn.004a3af0
mov ecx, dword [ebp + 0x74]
push esi
push 1
push esi
inc ecx
push esi
push ecx
mov ecx, ebp
call fcn.004c63e0
push esi
push esi
push esi
mov ecx, ebp
call fcn.004c6e30
jmp 0x4d3041
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x10]
mov eax, dword [edx - 8]
sub eax, esi
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.005b87f2
lea ecx, [esp + 0x20]
push esi
push ecx
lea ecx, [esp + 0x18]
mov byte [esp + 0x17c], 9
call fcn.005b886e
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x178], 0xa
call fcn.005bc55a
lea ecx, [esp + 0x20]
mov byte [esp + 0x174], 9
call fcn.005bc421
lea ecx, [esp + 0x11c]
call fcn.004918b0
mov esi, 0x5f7a80
mov dword [esp + 0x11c], esi
lea ecx, [esp + 0x144]
mov byte [esp + 0x174], 0xb
call fcn.005bae68
lea ecx, [esp + 0x158]
mov byte [esp + 0x174], 0xc
call fcn.005bae68
lea ecx, [esp + 0x130]
mov byte [esp + 0x174], 0xd
call fcn.004918b0
mov dword [esp + 0x130], esi
mov edx, dword [0x6707bc]
mov dword [esp + 0x5c], edx
mov eax, dword [esp + 0x18]
mov byte [esp + 0x174], 0xf
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4d21bc
mov eax, dword [0x6755d4]
test eax, eax
je 0x4d21bc
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jl 0x4d21bc
xor esi, esi
jmp 0x4d21c1
mov esi, 1
mov edi, dword [ebx + 0x2c]
mov dword [0x676198], 0
mov eax, dword [edi + 0x68]
test eax, eax
jne 0x4d21d9
xor eax, eax
jmp 0x4d21dc
mov eax, dword [edi + 0x60]
mov ecx, dword [ebx + 0x28]
lea edx, [esp + 0x5c]
push edx
lea edx, [esp + 0x134]
mov eax, dword [eax + ecx*4]
lea ecx, [esp + 0x15c]
push ecx
push edx
lea ecx, [esp + 0x150]
lea edx, [esp + 0x128]
push ecx
mov ecx, dword [esp + 0x20]
push edx
push esi
push ecx
push eax
push edi
push 0
call fcn.004d0a40
add esp, 0x28
test eax, eax
jne 0x4d2229
test esi, esi
mov dword [esp + 0x6c], 1
je 0x4d2231
mov dword [esp + 0x6c], 0
mov edx, dword [0x676198]
mov eax, dword [0x6707bc]
xor ebx, ebx
mov dword [esp + 0x24], edx
mov dword [0x676198], ebx
mov byte [esp + 0x64], 1
mov dword [esp + 0x65], ebx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x12c]
mov byte [esp + 0x174], 0x10
shr eax, 2
dec eax
mov dword [esp + 0x60], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x30], eax
mov dword [esp + 0x70], ebx
js 0x4d296b
mov edx, dword [esp + 0x148]
mov ecx, dword [esp + 0x124]
mov ebp, dword [ecx + ebx*4]
lea eax, [edx + ebx*4]
push eax
lea ecx, [esp + 0x18]
call fcn.005bc55a
push ebp
call fcn.004f4060
add esp, 4
cmp eax, 0x4000000
je 0x4d276b
cmp eax, 0x5000000
je 0x4d23e4
cmp eax, 0x8000000
jne 0x4d290b
mov esi, dword [edi + 0xd0]
lea ecx, [esp + 0xa4]
call fcn.004918b0
mov dword [esp + 0xb8], esi
mov dword [esp + 0xa0], 0
mov dword [esp + 0x9c], 0x5f7b8c
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x4b]
push 1
push ecx
push 0
push edx
push ebp
lea ecx, [esp + 0xb0]
mov byte [esp + 0x188], 0x22
mov byte [esp + 0x5f], 0x16
call fcn.004e88e0
mov eax, dword [edi + 0xd0]
push 1
lea ecx, [esp + 0xa0]
push 0
mov eax, dword [eax + 0x2d8]
push ecx
push eax
push 0x133
mov ecx, 0x6756e0
call fcn.0050f370
mov eax, dword [edi + 0xd0]
push 1
lea edx, [esp + 0xa0]
push 0
mov ecx, dword [eax + 0x2d8]
push edx
push ecx
lea ecx, [eax + 0x2d4]
call fcn.004e7220
mov eax, dword [esp + 0x15c]
mov eax, dword [eax + ebx*4]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4d238e
push 1
push eax
push ebp
call fcn.00511a80
add esp, 0xc
mov dword [esp + 0x20], 1
mov dword [esp + 0x9c], 0x5f7a5c
lea ecx, [esp + 0xa4]
mov byte [esp + 0x174], 0x23
mov dword [esp + 0xa0], 0
call fcn.00491ab0
lea ecx, [esp + 0xa4]
mov byte [esp + 0x174], 0x10
mov dword [esp + 0xa4], 0x5f7940
call fcn.00491ab0
jmp 0x4d290b
mov ecx, dword [esp + 0x138]
mov edx, dword [esp + 0x70]
push ebp
mov ebx, dword [ecx + edx*4]
mov esi, ebx
and ebx, 0xdfffffff
shr esi, 0x1d
and esi, 1
call fcn.004f4040
add esp, 4
test eax, eax
je 0x4d2663
cmp eax, 0x10000000
je 0x4d2529
cmp eax, 0x20000000
jne 0x4d290b
mov ecx, dword [esp + 0x1c]
mov eax, dword [edi + 0x1c]
inc ecx
test eax, eax
mov dword [esp + 0x1c], ecx
jne 0x4d243e
mov eax, ecx
inc eax
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0xd0]
lea ecx, [esp + 0xc4]
mov dword [esp + 0x28], eax
call fcn.004918b0
mov ecx, dword [esp + 0x28]
mov dword [esp + 0xc0], 0
mov dword [esp + 0xd8], ecx
mov dword [esp + 0xbc], 0x5f7bac
dec esi
mov eax, dword [esp + 0x14]
neg esi
sbb esi, esi
lea edx, [esp + 0x64]
not esi
and esi, edx
lea ecx, [esp + 0xbc]
push esi
push 0
push ebx
push ebp
push 0
push eax
mov byte [esp + 0x18c], 0x15
call fcn.004e8ec0
mov eax, dword [edi + 0x1c]
mov edx, dword [esp + 0x54]
push 0
push 1
lea ecx, [esp + 0xc4]
push 0
push ecx
push eax
push edx
mov ecx, 0x6756e0
call fcn.0050f230
mov eax, dword [edi + 0x1c]
push 1
lea ecx, [esp + 0xc0]
push 0
push ecx
push eax
lea ecx, [edi + 0x18]
call fcn.004e7220
mov dword [esp + 0xbc], 0x5f7a5c
lea ecx, [esp + 0xc4]
mov byte [esp + 0x174], 0x16
mov dword [esp + 0xc0], 0
call fcn.00491ab0
lea ecx, [esp + 0xc4]
mov byte [esp + 0x174], 0x10
mov dword [esp + 0xc4], 0x5f7940
call fcn.00491ab0
jmp 0x4d290b
mov eax, dword [edi + 0xc]
test eax, eax
je 0x4d290b
mov ecx, dword [edi + 0xd0]
lea edx, [esp + 0x74]
push 0
push edx
push eax
add ecx, 0x280
call fcn.004f4970
cmp eax, 1
jne 0x4d290b
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x1c]
inc edx
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x1c], edx
test ecx, ecx
jne 0x4d2571
mov eax, edx
inc eax
mov dword [esp + 0x1c], eax
mov ecx, dword [edi + 0xd0]
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x104]
call fcn.004918b0
mov edx, dword [esp + 0x28]
mov dword [esp + 0x100], 0
mov dword [esp + 0x118], edx
mov dword [esp + 0xfc], 0x5f7bac
dec esi
mov ecx, dword [esp + 0x14]
neg esi
sbb esi, esi
lea eax, [esp + 0x64]
not esi
and esi, eax
mov byte [esp + 0x174], 0x13
push esi
push 0
push ebx
push ebp
push 0
push ecx
lea ecx, [esp + 0x114]
call fcn.004e8ec0
mov edx, dword [esp + 0x74]
push 0
push 1
lea ecx, [esp + 0x104]
mov eax, dword [edx + 0x10]
mov edx, dword [edi + 0xc]
push 0
push ecx
push eax
push edx
mov ecx, 0x6756e0
call fcn.0050f230
mov eax, dword [esp + 0x74]
push 1
lea edx, [esp + 0x100]
push 0
mov ecx, dword [eax + 0x10]
push edx
push ecx
lea ecx, [eax + 0xc]
call fcn.004e7220
mov dword [esp + 0xfc], 0x5f7a5c
lea ecx, [esp + 0x104]
mov byte [esp + 0x174], 0x14
mov dword [esp + 0x100], 0
call fcn.00491ab0
lea ecx, [esp + 0x104]
mov byte [esp + 0x174], 0x10
mov dword [esp + 0x104], 0x5f7940
call fcn.00491ab0
jmp 0x4d290b
mov eax, dword [edi + 0xd0]
lea ecx, [esp + 0xe4]
mov dword [esp + 0x28], eax
call fcn.004918b0
mov ecx, dword [esp + 0x28]
mov dword [esp + 0xe0], 0
mov dword [esp + 0xf8], ecx
mov dword [esp + 0xdc], 0x5f7bac
dec esi
mov eax, dword [esp + 0x14]
neg esi
sbb esi, esi
lea edx, [esp + 0x64]
not esi
and esi, edx
lea ecx, [esp + 0xdc]
push esi
push 0
push ebx
push ebp
push 0
push eax
mov byte [esp + 0x18c], 0x11
call fcn.004e8ec0
mov ecx, dword [edi + 0xd0]
mov esi, 1
push 0
push esi
mov eax, dword [ecx + 0x248]
lea edx, [esp + 0xe4]
push 0
push edx
push eax
push 0
mov ecx, 0x6756e0
call fcn.0050f230
mov eax, dword [edi + 0xd0]
push esi
lea edx, [esp + 0xe0]
push 0
mov ecx, dword [eax + 0x248]
push edx
push ecx
lea ecx, [eax + 0x244]
call fcn.004e7220
mov dword [esp + 0xdc], 0x5f7a5c
lea ecx, [esp + 0xe4]
mov byte [esp + 0x174], 0x12
mov dword [esp + 0xe0], 0
call fcn.00491ab0
lea ecx, [esp + 0xe4]
mov byte [esp + 0x174], 0x10
mov dword [esp + 0xe4], 0x5f7940
call fcn.00491ab0
mov dword [esp + 0x50], esi
mov dword [esp + 0x60], esi
jmp 0x4d290b
mov eax, dword [esp + 0x138]
mov ebx, dword [eax + ebx*4]
test ebx, ebx
mov dword [esp + 0x28], ebx
je 0x4d290b
lea ecx, [esp + 0x2c]
push 0
push ecx
mov ecx, dword [edi + 0xd0]
push ebx
add ecx, 0x280
call fcn.004f4970
cmp eax, 1
jne 0x4d290b
push 0xd4
call fcn.005bd3d9
mov esi, eax
add esp, 4
mov dword [esp + 0x60], esi
test esi, esi
je 0x4d28a2
mov edx, dword [0x6707bc]
mov ebx, dword [edi + 0xd0]
mov dword [esi], edx
mov eax, dword [0x6707bc]
mov dword [esi + 4], eax
mov ecx, dword [0x6707bc]
mov dword [esi + 8], ecx
lea ecx, [esi + 0x20]
mov byte [esp + 0x174], 0x1a
call fcn.004918b0
mov dword [esi + 0x34], ebx
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0x5f7bac
lea ecx, [esi + 0x40]
mov byte [esp + 0x174], 0x1b
call fcn.004918b0
mov dword [esi + 0x54], ebx
mov dword [esi + 0x3c], 0
mov dword [esi + 0x38], 0x5f7bac
lea ecx, [esi + 0x58]
mov byte [esp + 0x174], 0x1c
call fcn.004918b0
lea ecx, [esi + 0x6c]
mov byte [esp + 0x174], 0x1d
call fcn.004918b0
lea ecx, [esi + 0x80]
mov byte [esp + 0x174], 0x1e
call fcn.004918b0
lea ecx, [esi + 0x94]
mov byte [esp + 0x174], 0x1f
call fcn.004918b0
lea ecx, [esi + 0xa8]
mov byte [esp + 0x174], 0x20
call fcn.004918b0
lea ecx, [esi + 0xbc]
mov byte [esp + 0x174], 0x21
call fcn.004918b0
xor eax, eax
mov dword [esi + 0xd0], ebx
mov ebx, dword [esp + 0x28]
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0xc], eax
jmp 0x4d28a4
xor esi, esi
lea edx, [esp + 0x14]
mov ecx, esi
push edx
mov byte [esp + 0x178], 0x10
call fcn.005bc55a
push 0
push 0
mov ecx, esi
mov dword [esi + 0xc], ebx
call fcn.004ee660
mov ecx, dword [edi + 0xd0]
push esi
push ebp
add ecx, 0x264
call fcn.004e7e70
mov eax, dword [esp + 0x2c]
push ebp
lea ecx, [eax + 0x2c]
call fcn.00491be0
mov ecx, dword [edi + 0xd0]
push ebp
mov eax, dword [ecx + 0x27c]
shr eax, 3
dec eax
push eax
push ecx
mov ecx, 0x6756e0
call fcn.0050e0e0
mov dword [esp + 0x60], 1
mov ebx, dword [esp + 0x70]
mov eax, dword [esp + 0x30]
inc ebx
cmp ebx, eax
mov dword [esp + 0x70], ebx
jle 0x4d2286
mov eax, dword [esp + 0x50]
mov esi, 1
cmp eax, esi
jne 0x4d293f
push 0
push 0
push 0
push 3
mov ecx, 0x6756e0
call fcn.004097e0
cmp dword [esp + 0x20], esi
jne 0x4d2957
push 0
push 0
push 0
push 6
mov ecx, 0x6756e0
call fcn.004097e0
cmp dword [esp + 0x60], esi
jne 0x4d2967
mov ecx, 0x6756e0
call fcn.00469ad0
mov ebp, dword [esp + 0x78]
mov esi, dword [esp + 0x1c]
mov ebx, dword [ebp + 0x74]
test esi, esi
jle 0x4d2996
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0xdc]
mov eax, dword [ebp + 0x74]
push 0
push 1
push 0
add eax, esi
push 0
push eax
mov ecx, ebp
call fcn.004c63e0
mov eax, dword [esp + 0x6c]
test eax, eax
jne 0x4d2a46
mov eax, dword [edi + 0xcc]
test eax, eax
jne 0x4d29b0
xor ecx, ecx
jmp 0x4d29b6
mov ecx, dword [edi + 0xc4]
mov eax, dword [edi + 0x68]
test eax, eax
jne 0x4d29c1
xor eax, eax
jmp 0x4d29c4
mov eax, dword [edi + 0x60]
mov edx, dword [esp + 0x4c]
mov edx, dword [edx + 0x28]
mov eax, dword [eax + edx*4]
lea esi, [eax + ecx]
mov ecx, edi
push esi
call fcn.004ee940
cmp eax, 1
jne 0x4d2a28
inc esi
mov ecx, esi
call fcn.004eb460
add esi, eax
mov eax, dword [edi + 0xcc]
test eax, eax
jne 0x4d29f6
xor eax, eax
jmp 0x4d29fc
mov eax, dword [edi + 0xc4]
mov edi, dword [edi + 0xcc]
add edi, eax
cmp esi, edi
jae 0x4d2a28
cmp byte [esi], 0x6a
jne 0x4d2a28
lea ecx, [esi + 1]
call fcn.004eb270
test eax, eax
je 0x4d2a28
mov eax, dword [ebp + 0x74]
push 0
push 1
push 0
inc eax
push 0
push eax
jmp 0x4d2a3f
push 1
mov ecx, ebp
call fcn.004a3af0
test eax, eax
jne 0x4d2a46
mov ecx, dword [ebp + 0x74]
push eax
push 1
push eax
inc ecx
push eax
push ecx
mov ecx, ebp
call fcn.004c63e0
cmp dword [ebp + 0x74], ebx
je 0x4d2a58
push 0
push 0
push 0
mov ecx, ebp
call fcn.004c6e30
mov eax, dword [esp + 0x18]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4d2a6f
push 0
push eax
mov ecx, ebp
call fcn.004d1bb0
jmp 0x4d2aa4
push 1
push 0
mov ecx, ebp
call fcn.004ca1a0
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x4d2aa4
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x4d2aa4
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4d2aa4
push 0x30
push 0x66bd40
push eax
mov ecx, ebp
call fcn.005bf603
lea ecx, [esp + 0x14]
mov byte [esp + 0x174], 0xf
call fcn.005bc421
lea ecx, [esp + 0x5c]
mov byte [esp + 0x174], 0xe
call fcn.005bc421
mov esi, 0x5f7940
lea ecx, [esp + 0x130]
mov byte [esp + 0x174], 0xd
mov dword [esp + 0x130], esi
call fcn.00491ab0
lea ecx, [esp + 0x158]
mov byte [esp + 0x174], 0xc
call fcn.005bae9b
lea ecx, [esp + 0x144]
mov byte [esp + 0x174], 0xb
call fcn.005bae9b
lea ecx, [esp + 0x11c]
mov byte [esp + 0x174], 9
mov dword [esp + 0x11c], esi
call fcn.00491ab0
lea ecx, [esp + 0x18]
mov byte [esp + 0x174], 1
call fcn.005bc421
jmp 0x4d2ba3
cmp dword [esp + 0x24], 1
jne 0x4d2b50
lea edx, [esp + 0x10]
push edx
call fcn.004d09d0
add esp, 4
lea eax, [esp + 0x30]
push 0
push eax
mov eax, dword [ebp + 0x74]
push 0
lea ecx, [esp + 0x30]
push 0
lea edx, [esp + 0x3c]
push ecx
push edx
push 0
push 0
push eax
mov ecx, ebp
call fcn.0049ce70
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x10]
push 1
push ecx
mov ecx, dword [esp + 0x34]
push edx
mov edx, dword [ebx]
push eax
push ecx
mov ecx, dword [ebp + 0x5c]
push edx
call fcn.004d0610
push 1
mov ecx, ebp
call fcn.004a3af0
mov esi, 0x5f7940
lea ecx, [esp + 0x10]
mov byte [esp + 0x174], 0
call fcn.005bc421
mov dword [esp + 0x174], 0xffffffff
mov dword [esp + 0x34], esi
jmp 0x4d3065
cmp dl, 0x20
jae 0x4d2ee2
jmp 0x4d3041
test ecx, ecx
jne 0x4d2ed7
xor ebx, ebx
cmp dl, 1
sete bl
test ebx, ebx
mov dword [esp + 0x14], ebx
je 0x4d2bfe
mov edx, dword [esp + 0x10]
mov eax, dword [edx - 8]
cmp esi, eax
sete cl
mov eax, ecx
jmp 0x4d2c09
mov edx, dword [esp + 0x10]
xor eax, eax
test esi, esi
sete al
test eax, eax
je 0x4d2dd5
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4d3041
mov edx, dword [esp + 0x2c]
mov ecx, edi
push edx
call fcn.004ee940
mov esi, eax
mov eax, dword [ebp + 0x74]
and esi, 0xff
shr esi, 1
and esi, 1
test ebx, ebx
je 0x4d2c40
inc eax
jmp 0x4d2c49
test eax, eax
jle 0x4d3041
dec eax
push 0
push 0
push 0
lea ecx, [esp + 0x24]
push 0
lea edx, [esp + 0x34]
push ecx
push edx
push 0
push 0
push eax
mov ecx, ebp
mov dword [esp + 0x40], eax
call fcn.0049ce70
cmp eax, 0xd
jne 0x4d3041
cmp dword [esp + 0x24], edi
jne 0x4d3041
mov eax, dword [edi + 0x68]
test eax, eax
jne 0x4d2c89
xor eax, eax
jmp 0x4d2c8c
mov eax, dword [edi + 0x60]
mov ecx, dword [esp + 0x18]
mov ebx, dword [eax + ecx*4]
mov eax, dword [edi + 0xcc]
test eax, eax
jne 0x4d2ca1
xor eax, eax
jmp 0x4d2ca7
mov eax, dword [edi + 0xc4]
add eax, ebx
mov ecx, edi
push eax
call fcn.004ee940
shr eax, 1
and eax, 1
cmp esi, eax
je 0x4d2cd0
cmp esi, 1
je 0x4d3041
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x14]
jmp 0x4d2c39
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x20]
test eax, eax
jne 0x4d2ce0
mov esi, dword [esp + 0x18]
mov eax, dword [edi + 0xcc]
test eax, eax
jne 0x4d2cee
xor ecx, ecx
jmp 0x4d2cf4
mov ecx, dword [edi + 0xc4]
mov eax, dword [edi + 0x68]
test eax, eax
jne 0x4d2cff
xor eax, eax
jmp 0x4d2d02
mov eax, dword [edi + 0x60]
mov eax, dword [eax + esi*4]
cmp byte [eax + ecx], 0x6a
jne 0x4d2d5a
lea ecx, [eax + ecx + 1]
call fcn.004eb270
test eax, eax
je 0x4d2d5a
mov edx, dword [esp + 0x54]
push esi
push esi
push edi
push edx
call fcn.004d0170
mov eax, dword [esp + 0x24]
add esp, 0x10
test eax, eax
jne 0x4d3036
mov eax, dword [esp + 0x1c]
push 0
push 1
push 0
push 0
push eax
mov ecx, ebp
call fcn.004c63e0
push 0
push 0
push 0
mov ecx, ebp
call fcn.004c6e30
jmp 0x4d3036
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4d2d75
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0x10]
push ecx
push ebx
mov ecx, edi
call fcn.004ecd90
jmp 0x4d2db2
mov eax, dword [esp + 0x1c]
push 0
lea edx, [esp + 0x38]
push 1
push edx
push 0
push eax
mov ecx, ebp
call fcn.004c63e0
push 0
push 0
push 0
mov ecx, ebp
call fcn.004c6e30
lea ecx, [esp + 0x34]
push 1
push ecx
push 0
push SysReAllocString
mov ecx, ebp
call fcn.004b67f0
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x54]
push esi
push esi
push edi
push edx
call fcn.004d0170
mov eax, dword [esp + 0x20]
add esp, 0x10
mov ecx, ebp
push 0
push eax
call fcn.004d1bb0
jmp 0x4d3041
test ebx, ebx
je 0x4d2dde
lea eax, [esi + edx]
jmp 0x4d2e11
mov cl, byte [edx]
mov eax, edx
xor edi, edi
and cl, 0x80
je 0x4d2dea
inc edi
inc edi
cmp edi, esi
jge 0x4d2e0d
test cl, cl
je 0x4d2dff
mov cl, byte [eax + 1]
inc eax
test cl, cl
je 0x4d3041
mov cl, byte [eax + 1]
inc eax
test cl, cl
je 0x4d3041
jmp 0x4d2de4
mov esi, eax
sub esi, edx
mov al, byte [eax]
test al, al
je 0x4d3041
and al, 0x80
neg al
sbb eax, eax
neg eax
inc eax
mov ecx, eax
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4d2e4b
xor edx, edx
mov dword [esp + 0x94], esi
test ebx, ebx
setne dl
inc edx
mov dword [esp + 0x98], ecx
mov dword [esp + 0x90], edx
mov eax, dword [esp + 0x10]
mov eax, dword [eax - 8]
sub eax, ecx
lea ecx, [esp + 0x2c]
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.005b87f2
mov edi, eax
lea edx, [esp + 0x30]
push esi
push edx
lea ecx, [esp + 0x18]
mov byte [esp + 0x17c], 6
call fcn.005b886e
push edi
push eax
lea eax, [esp + 0x2c]
mov bl, 7
push eax
mov byte [esp + 0x180], bl
call fcn.005bc650
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x178], 8
call fcn.005bc55a
lea ecx, [esp + 0x24]
mov byte [esp + 0x174], bl
call fcn.005bc421
lea ecx, [esp + 0x30]
mov byte [esp + 0x174], 6
call fcn.005bc421
lea ecx, [esp + 0x2c]
mov byte [esp + 0x174], 1
call fcn.005bc421
mov dword [esp + 0x17c], 0x674ee0
mov edi, dword [esp + 0x17c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
test ecx, ecx
jle 0x4d2fd2
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4d2f1c
mov dword [esp + 0x90], 3
mov dword [esp + 0x94], esi
mov dword [esp + 0x98], ecx
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x4c]
mov eax, dword [ecx - 8]
lea ecx, [esp + 0x10]
sub eax, esi
push eax
push edx
call fcn.005b87f2
mov edi, eax
lea eax, [esp + 0x28]
push esi
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x17c], 0x24
call fcn.005b886e
mov ecx, dword [esp + 0x17c]
lea edx, [esp + 0x2c]
push ecx
push eax
push edx
mov byte [esp + 0x180], 0x25
call fcn.005bc6b6
push edi
push eax
lea eax, [esp + 0x38]
mov bl, 0x26
push eax
mov byte [esp + 0x180], bl
call fcn.005bc650
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x178], 0x27
call fcn.005bc55a
lea ecx, [esp + 0x30]
mov byte [esp + 0x174], bl
call fcn.005bc421
lea ecx, [esp + 0x2c]
mov byte [esp + 0x174], 0x25
call fcn.005bc421
lea ecx, [esp + 0x28]
mov byte [esp + 0x174], 0x24
call fcn.005bc421
lea ecx, [esp + 0x4c]
mov byte [esp + 0x174], 1
call fcn.005bc421
mov eax, dword [ebp + 0x78]
push 0
lea ecx, [esp + 0x88]
push 0
lea edx, [esp + 0x18]
push ecx
mov ecx, dword [ebp + 0x74]
push edx
push eax
push ecx
mov ecx, ebp
call fcn.004d3090
test eax, eax
jne 0x4d3004
push 0x30
mov ecx, 0x6756e0
call fcn.00484ab0
jmp 0x4d3041
mov eax, dword [esp + 0x180]
test eax, eax
je 0x4d3036
mov edi, dword [esp + 0x17c]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x58]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
add ecx, esi
push 0
add ecx, edx
push 0
push ecx
mov ecx, ebp
call fcn.004b67f0
push 1
push 0
mov ecx, ebp
call fcn.004ca1a0
lea ecx, [esp + 0x10]
mov byte [esp + 0x174], 0
call fcn.005bc421
mov dword [esp + 0x174], 0xffffffff
mov dword [esp + 0x34], 0x5f7940
lea ecx, [esp + 0x34]
call fcn.00491ab0
mov ecx, dword [esp + 0x16c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x168
ret 8