Function at 0x406190
Capabilities:
Authenticate hmac
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x288
push ebx
push esi
mov byte [ebp - 0xf9], 0x12
mov byte [ebp - 0x11e], 0x1d
mov byte [ebp - 0x11d], 0x10
mov byte [ebp - 0x91], 0x30
mov byte [ebp - 0x1e], 0x2f
mov byte [ebp - 0x1d], 0x2d
mov byte [ebp - 7], 0x31
mov byte [ebp - 0x136], 0x16
mov byte [ebp - 0x135], 0x15
mov byte [ebp - 0xd9], 0x18
mov byte [ebp - 6], 0xb
mov byte [ebp - 0x26d], 0x17
mov byte [ebp - 0x1d5], 2
mov byte [ebp - 0x101], 9
mov byte [ebp - 0x1c9], 2
mov byte [ebp - 5], 0x1d
mov eax, 0x1b
mov word [ebp - 0x11c], ax
mov ecx, 0x12
mov word [ebp - 0xf8], cx
mov edx, 0x2d
mov word [ebp - 0xf4], dx
mov eax, 0x2c
mov word [ebp - 0x118], ax
mov ecx, 5
mov word [ebp - 0x1c8], cx
mov edx, 0x2a
mov word [ebp - 0x1b8], dx
mov eax, 0x24
mov word [ebp - 0xbc], ax
mov ecx, 0x31
mov word [ebp - 0x90], cx
mov edx, 0x17
mov word [ebp - 0x1dc], dx
mov eax, 0x2f
mov word [ebp - 0x1c], ax
mov ecx, 1
mov word [ebp - 0x18], cx
mov edx, 0x30
mov word [ebp - 0x134], dx
mov eax, 0x2a
mov word [ebp - 0xf0], ax
mov ecx, 0x1b
mov word [ebp - 0xd8], cx
mov edx, 0x27
mov word [ebp - 0x264], dx
mov eax, 0x14
mov word [ebp - 0x260], ax
mov dword [ebp - 0x1d4], 0x30
mov dword [ebp - 0x130], 0x32
mov dword [ebp - 0x26c], 0x15
mov dword [ebp - 0x100], 0x14
mov dword [ebp - 0x14], 0x32
mov dword [ebp - 0x1c4], 5
mov dword [ebp - 0x25c], 0x2f
mov dword [ebp - 0xa8], 0x1d
mov dword [ebp - 0x114], 0x24
mov dword [ebp - 4], 0xc
mov dword [ebp - 0xb8], 0x28
mov dword [ebp - 0xb4], 1
mov dword [ebp - 0xd4], 0x11
mov dword [ebp - 0x258], 0xc
mov dword [ebp - 0xec], 0x31
mov dword [ebp - 0x8c], 0xf
mov ecx, 0x1c
mov word [ebp - 0xe8], cx
mov edx, 0x17
mov word [ebp - 0x1d0], dx
mov eax, 0x2f
mov word [ebp - 0xe4], ax
mov ecx, 0x1b
mov word [ebp - 0x110], cx
mov edx, 0x1e
mov word [ebp - 0x1b4], dx
mov eax, 0x24
mov word [ebp - 0x10c], ax
mov ecx, 0x1f
mov word [ebp - 0x1b0], cx
mov edx, 0xf
mov word [ebp - 0xb0], dx
mov eax, 0xa
mov word [ebp - 0x10], ax
mov ecx, 0x13
mov word [ebp - 0x254], cx
mov edx, 0x1b
mov word [ebp - 0xd0], dx
mov eax, 0x23
mov word [ebp - 0x250], ax
mov ecx, 0x1c
mov word [ebp - 0x1c0], cx
mov edx, 0xe
mov word [ebp - 0x12c], dx
mov eax, 0x20
mov word [ebp - 0x1ac], ax
mov ecx, 0xf
mov word [ebp - 0x24c], cx
mov dword [ebp - 0x9c], 1
mov edx, dword [ebp - 0xc0]
mov dword [ebp - 0x174], edx
mov eax, dword [ebp - 0x100]
mov ecx, dword [ebp - 0x108]
lea edx, [ecx + eax + 0xa3]
sub edx, dword [ebp - 0x274]
mov byte [ebp - 0x26d], dl
mov ax, word [ebp - 0x274]
mov word [ebp - 0x108], ax
mov dword [ebp - 0x224], 0x1d
movzx ecx, byte [ebp - 0x1e]
mov edx, dword [ebp - 0x26c]
lea eax, [ecx + edx + 0x6e]
mov word [ebp - 0xbc], ax
mov ecx, dword [ebp - 0x124]
mov dword [ebp - 0x27c], ecx
cmp dword [ebp - 0x27c], 3
ja case.default.0x40648e
mov edx, dword [ebp - 0x27c]
jmp dword [edx*4 + 0x407544]
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0xc4], eax
movzx ecx, word [ebp - 0x1c0]
add ecx, 0x53
mov word [ebp - 0x1c0], cx
jmp 0x406614
cmp dword [ebp - 0xc4], 0x2e
jne 0x4064d9
mov edx, dword [ebp - 0x13c]
xor edx, 8
mov dword [ebp - 0x98], edx
mov dword [ebp - 0x268], 0xc
cmp dword [ebp - 0xa0], 0x20
jg 0x406514
mov eax, dword [ebp - 0xc0]
add eax, 0x1d
movzx ecx, byte [ebp - 6]
and eax, ecx
or eax, dword [ebp - 0x268]
mov word [ebp - 0x11c], ax
movzx edx, word [ebp - 0x260]
movzx eax, byte [ebp - 0x11e]
add edx, eax
xor edx, 0x34
mov dword [ebp - 4], edx
mov ecx, dword [ebp - 0x9c]
cmp ecx, dword [0x415010]
jle 0x406551
movzx edx, byte [ebp - 0x136]
add edx, dword [ebp - 0x268]
movzx eax, byte [ebp - 6]
add eax, 0x44
xor eax, 0x63
or edx, eax
mov byte [ebp - 5], dl
movzx ecx, byte [ebp - 5]
movzx edx, byte [ebp - 0x1c9]
add ecx, edx
mov dword [ebp - 0x274], ecx
jmp 0x406614
mov dword [0x415048], 0x4d
mov eax, dword [ebp - 0x274]
sub eax, 0x41
mov dword [ebp - 0x98], eax
cmp dword [0x415008], 0x52
jl 0x40658f
movzx ecx, byte [ebp - 0x11d]
mov edx, dword [ebp - 0x13c]
lea eax, [ecx + edx + 0x29]
and eax, 0x15
mov byte [ebp - 7], al
jmp 0x406614
movzx ecx, word [ebp - 0x1dc]
cmp ecx, 0x55
jl 0x4065c7
mov edx, 0x59
sub edx, dword [ebp - 0x274]
sub edx, dword [ebp - 0x1d4]
or edx, 0x4c
mov byte [ebp - 0x1c9], dl
movzx eax, word [ebp - 0x118]
mov dword [ebp - 0x124], eax
movzx ecx, byte [ebp - 0x11e]
movzx edx, word [ebp - 0xbc]
lea eax, [ecx + edx - 0x39]
movzx ecx, word [ebp - 0x10]
add ecx, eax
mov word [ebp - 0x10], cx
jmp 0x406614
mov edx, dword [ebp - 0x124]
push edx
push 0x34
push 0x2b
call dword [sym.imp.USER32.dll_ChildWindowFromPoint]
mov ecx, dword [ebp - 0x268]
sub ecx, eax
movzx edx, byte [ebp - 0x1d5]
add ecx, dword [ebp - 0x98]
add edx, ecx
mov word [ebp - 0x264], dx
mov eax, dword [ebp - 0x14]
sub eax, 0x34
or eax, dword [ebp - 0xe0]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x1c4]
add ecx, 0x1f
movzx edx, byte [ebp - 7]
sub ecx, edx
mov dword [ebp - 0x8c], ecx
movzx eax, word [ebp - 0x90]
movzx ecx, word [ebp - 0xf0]
lea edx, [eax + ecx + 0x98]
movzx eax, byte [ebp - 0x1d]
add edx, eax
mov byte [ebp - 7], dl
mov dword [ebp - 0xc], 0
movzx ecx, byte [ebp - 0xd9]
mov edx, 5
sub edx, ecx
sub edx, 0x4f
movzx eax, word [ebp - 0x254]
sub eax, edx
mov word [ebp - 0x254], ax
mov ecx, dword [ebp - 0x114]
add ecx, 0x15
mov dword [ebp - 0x108], ecx
movzx edx, word [ebp - 0xe8]
movzx eax, byte [ebp - 7]
lea ecx, [edx + eax - 0x2a]
mov byte [ebp - 5], cl
mov edx, dword [ebp - 0x13c]
add edx, 0x53
mov dword [ebp - 0xc0], edx
mov dword [ebp - 0xcc], 0
mov eax, 0x1b
sub eax, dword [ebp - 0xc0]
xor eax, 0x3e
mov dword [ebp - 0xec], eax
movzx ecx, byte [ebp - 0x1e]
mov edx, 1
sub edx, ecx
movzx eax, word [ebp - 0xd0]
add edx, eax
movzx ecx, word [ebp - 0x250]
imul ecx, edx
mov word [ebp - 0x250], cx
mov edx, dword [ebp - 0x274]
mov dword [ebp - 0x98], edx
mov eax, dword [ebp - 0x13c]
xor eax, dword [ebp - 0x13c]
mov ecx, dword [ebp - 0xc4]
add ecx, 0xe
xor ecx, 0x5e
or eax, ecx
mov byte [ebp - 0x26d], al
mov dword [ebp - 0x98], 3
movzx edx, word [ebp - 0x264]
mov eax, dword [ebp - 0x258]
sub eax, edx
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp - 0x268]
mov edx, dword [ebp - 0x9c]
lea eax, [edx + ecx + 0x82]
add eax, dword [ebp - 0x124]
mov byte [ebp - 0x91], al
mov ecx, dword [ebp - 0x100]
add ecx, 0x126
mov byte [ebp - 0x135], cl
mov edx, dword [ebp - 0x114]
mov eax, dword [ebp - 0xe0]
lea ebx, [eax + edx + 0x4e]
and ebx, dword [ebp - 0xc0]
mov ecx, dword [ebp - 0x98]
push ecx
push 0x54
call dword [sym.imp.USER32.dll_ValidateRgn]
or ebx, eax
mov byte [ebp - 0x101], bl
movzx edx, word [ebp - 0x1c8]
or edx, 0x18
mov dword [ebp - 0xa0], edx
movzx eax, byte [ebp - 0x1e]
mov dword [0x415060], eax
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0x8c], 0x12
mov ecx, dword [ebp - 0xd4]
sub ecx, 0x43
mov dword [ebp - 0x9c], ecx
mov edx, dword [ebp - 0x268]
mov dword [ebp - 0x230], edx
movzx eax, word [ebp - 0x134]
mov dword [0x415028], eax
movzx ecx, word [ebp - 0x1c8]
add ecx, 0x49
mov dword [0x415034], ecx
mov dword [0x41502c], 0x1d
mov dword [0x415024], 0x17
movzx edx, word [ebp - 0x90]
mov dword [ebp - 0x268], edx
movzx eax, word [ebp - 0x20a]
mov dword [ebp - 0x274], eax
mov ecx, dword [ebp - 0x13c]
mov dword [ebp - 0x208], ecx
movzx edx, word [ebp - 0x264]
mov dword [ebp - 0xa0], edx
movzx eax, byte [ebp - 7]
sub eax, 0x34
mov dword [ebp - 0xe0], eax
mov ecx, dword [ebp - 0xe0]
add ecx, 0x5e
movzx edx, byte [ebp - 0x1d5]
sub ecx, edx
sub ecx, 0x19
mov word [ebp - 0xf8], cx
movzx eax, word [ebp - 0x1c]
sub eax, 1
mov byte [ebp - 0x91], al
movzx ecx, byte [ebp - 0x91]
movzx edx, word [ebp - 0x264]
and ecx, edx
movzx eax, word [ebp - 0x90]
add eax, ecx
mov word [ebp - 0x90], ax
mov ecx, dword [ebp - 0xa8]
sub ecx, dword [ebp - 0x14]
mov dword [str._._IE_], ecx
movzx edx, byte [ebp - 7]
sub edx, 0x36
movzx eax, byte [ebp - 0x1d]
sub eax, edx
mov byte [ebp - 0x1d], al
mov ecx, dword [0x41502c]
add ecx, 0xbd
mov byte [ebp - 0xf9], cl
mov edx, dword [ebp - 0x13c]
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x68], 0x33
mov eax, dword [ebp - 0x274]
mov ecx, dword [ebp - 0x268]
lea edx, [ecx + eax + 0x62]
mov dword [ebp - 0x100], edx
mov dword [ebp - 0xa4], 0
movzx eax, byte [ebp - 0x1d5]
movzx ecx, word [ebp - 0x90]
lea edx, [eax + ecx - 0x78]
movzx eax, byte [ebp - 0x1d]
sub edx, eax
mov byte [ebp - 0x11e], dl
movzx ecx, byte [ebp - 0x1d5]
add ecx, dword [ebp - 0xe0]
sub ecx, dword [ebp - 0x124]
mov dword [ebp - 0x25c], ecx
mov edx, dword [ebp - 0x108]
mov dword [ebp - 0x154], edx
mov esi, dword [ebp - 0x114]
sub esi, dword [ebp - 0xb4]
mov eax, dword [ebp - 0xa0]
push eax
call dword [sym.imp.USER32.dll_IsWindowEnabled]
sub esi, eax
or esi, dword [ebp - 0x13c]
mov word [ebp - 0x1b8], si
movzx ecx, word [ebp - 0xf8]
sub ecx, 0x21
movzx edx, word [ebp - 0x18]
xor ecx, edx
mov dword [ebp - 0xb8], ecx
movzx eax, byte [ebp - 0x11e]
mov ecx, 0x13
sub ecx, eax
add ecx, 0x3f
mov byte [ebp - 0x136], cl
movzx edx, byte [ebp - 0x135]
add edx, dword [ebp - 0x124]
mov dword [ebp - 0xa0], edx
mov esi, dword [ebp - 0x98]
sub esi, 0x35
mov eax, dword [ebp - 0x108]
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
sub esi, eax
sub esi, 0x52
mov word [ebp - 0x1b8], si
mov ecx, dword [ebp - 0x268]
mov dword [ebp - 0x124], ecx
mov byte [ebp - 0x9c], 0xb
mov edx, dword [ebp - 0xc4]
mov dword [ebp - 0x244], edx
mov eax, dword [ebp - 0x98]
push eax
mov ecx, dword [ebp - 0x9c]
push ecx
mov edx, dword [ebp - 0xe0]
push edx
mov eax, dword [ebp - 0xe0]
push eax
call fcn.00405cf0
add esp, 0x10
mov ecx, dword [ebp - 0x108]
lea edx, [eax + ecx - 0x27]
mov dword [ebp - 0x26c], edx
mov eax, dword [ebp - 0x8c]
add eax, 0x4c
sub eax, dword [ebp - 0x9c]
movzx ecx, byte [ebp - 0x1e]
lea edx, [eax + ecx - 6]
mov byte [ebp - 6], dl
mov eax, dword [ebp - 0x1c4]
sub eax, dword [ebp - 0xe0]
add eax, dword [ebp - 0x108]
mov ecx, dword [ebp - 0x9c]
add ecx, dword [ebp - 0x98]
or eax, ecx
mov byte [ebp - 7], al
mov dword [ebp - 0x224], 8
mov edx, dword [ebp - 0x98]
mov eax, dword [ebp - 0x13c]
lea ecx, [eax + edx - 0x21]
mov dword [ebp - 0x130], ecx
mov edx, 0x4a
sub edx, dword [ebp - 0xd4]
sub edx, 0x3a
mov dword [ebp - 0xa8], edx
mov al, byte [ebp - 0x13c]
mov byte [ebp - 0xa0], al
movzx ecx, byte [ebp - 0xf9]
mov dword [ebp - 0xc0], ecx
mov edx, dword [ebp - 0xe0]
mov dword [ebp - 0x280], edx
cmp dword [ebp - 0x280], 0
je 0x406ac9
cmp dword [ebp - 0x280], 1
je 0x406b05
jmp 0x406b64
mov eax, dword [0x415004]
cmp eax, dword [ebp - 0xa0]
jl 0x406b03
mov ecx, dword [ebp - 0x268]
add ecx, 0x29
mov dword [ebp - 0xc0], ecx
mov edx, 0x3b
sub edx, dword [ebp - 0x25c]
sub edx, dword [ebp - 0x124]
or edx, dword [ebp - 0x8c]
mov word [ebp - 0x1b8], dx
jmp 0x406b64
movzx eax, word [ebp - 0xb0]
add eax, 0xc
or eax, 0x55
mov word [ebp - 0x264], ax
cmp dword [0x415008], 0x37
jl 0x406b64
mov dword [ebp - 0x268], 0x48
mov ebx, dword [ebp - 0x274]
sub ebx, 0x3f
mov ecx, dword [ebp - 0x9c]
push ecx
mov edx, dword [ebp - 0x98]
push edx
mov eax, dword [ebp - 0xc0]
push eax
mov ecx, dword [ebp - 0x274]
push ecx
call fcn.00405cf0
add esp, 0x10
sub ebx, eax
sub ebx, 0x33
mov byte [ebp - 0x1c9], bl
mov edx, dword [ebp - 0xc0]
add edx, 3
mov dword [ebp - 0x258], edx
mov dword [ebp - 0x278], 0
jmp 0x406b8e
mov eax, dword [ebp - 0x278]
add eax, 1
mov dword [ebp - 0x278], eax
cmp dword [ebp - 0x278], 5
jge 0x406c36
mov ecx, dword [ebp - 0xd4]
and ecx, 0x57
mov dword [0x41502c], ecx
mov edx, dword [str._._IE_]
mov dword [str._._IE_], edx
mov dword [ebp - 0x1a0], 0x4c
mov eax, dword [0x415024]
sub eax, 0x2b
mov dword [str._._IE_], eax
mov ecx, dword [ebp - 0xec]
add ecx, 0xa
mov dword [0x415028], ecx
movzx edx, word [ebp - 0xf4]
sub edx, 0x51
movzx eax, word [ebp - 0x1dc]
sub edx, eax
sub edx, 0xbe
mov byte [ebp - 0x91], dl
cmp dword [ebp - 0xa0], 0x11
jge 0x406c31
mov ecx, dword [str._._IE_]
add ecx, 0x9e
mov dword [ebp - 0x25c], ecx
mov edx, dword [0x415034]
add edx, 0x41
sub edx, dword [ebp - 0xa8]
xor edx, dword [0x415034]
mov byte [ebp - 0x11d], dl
jmp 0x406b7f
movzx eax, word [ebp - 0x18]
mov ecx, 0xc
sub ecx, eax
movzx edx, word [ebp - 0x1c]
or ecx, edx
movzx eax, word [ebp - 0x11c]
add eax, ecx
mov word [ebp - 0x11c], ax
mov ecx, 0x4d
sub ecx, dword [ebp - 0x25c]
add ecx, dword [0x415028]
mov dword [ebp - 0xb4], ecx
movzx edx, byte [ebp - 6]
sub edx, 0x1a
mov dword [0x415028], edx
movzx eax, word [ebp - 0xf0]
add eax, dword [0x415038]
mov dword [0x415024], eax
movzx ecx, byte [ebp - 7]
mov edx, dword [0x415020]
lea eax, [ecx + edx - 0x29]
mov byte [ebp - 0x136], al
movzx ecx, byte [0x41504d]
mov dword [str._._IE_], ecx
mov dword [ebp - 0x64], 0x54
mov edx, dword [ebp - 0x1d4]
add edx, dword [0x415038]
mov dword [0x415024], edx
mov eax, dword [ebp - 0x100]
add eax, 0x25
mov dword [ebp - 0xa0], eax
mov ecx, dword [ebp - 0x13c]
sub ecx, dword [ebp - 0xe0]
add ecx, 0x28
mov edx, dword [ebp - 0xa0]
add edx, 0x3c
or ecx, edx
mov byte [ebp - 0x1e], cl
mov eax, dword [ebp - 0x108]
add eax, 0x61
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0x28], 0x44
push 0x3e
call dword [sym.imp.USER32.dll_VkKeyScanW]
movzx ecx, byte [ebp - 0x11d]
sub eax, ecx
add eax, dword [ebp - 0x9c]
or eax, dword [ebp - 0x114]
mov word [ebp - 0x18], ax
movzx edx, byte [ebp - 0x11d]
mov eax, dword [ebp - 0xe0]
lea ecx, [eax + edx - 0x35]
mov dword [ebp - 0xd4], ecx
mov dword [ebp - 0x13c], 0x5f
mov edx, dword [ebp - 0xc4]
sub edx, 0x22
sub edx, dword [ebp - 0x98]
mov dword [ebp - 0x25c], edx
mov dword [ebp - 0x164], 0x39
movzx eax, word [ebp - 0xd8]
or eax, 0xffffffe2
mov dword [ebp - 0x258], eax
mov ecx, dword [ebp - 0x124]
mov dword [ebp - 0x284], ecx
cmp dword [ebp - 0x284], 0
je 0x406da3
cmp dword [ebp - 0x284], 1
je 0x406db2
cmp dword [ebp - 0x284], 2
je 0x406dc7
jmp 0x406dd8
movzx edx, byte [ebp - 0x101]
mov dword [ebp - 0xe0], edx
jmp 0x406df9
movzx eax, word [ebp - 0xd8]
xor eax, 0xc
xor eax, 0x58
mov dword [ebp - 0x114], eax
jmp 0x406df9
mov ecx, dword [ebp - 0xc4]
add ecx, 0x3a
mov dword [ebp - 0x274], ecx
jmp 0x406df9
mov edx, 3
sub edx, dword [ebp - 0x258]
add edx, dword [ebp - 0xc4]
movzx eax, word [ebp - 0xf4]
add edx, eax
mov word [ebp - 0xd8], dx
mov ecx, dword [ebp - 0xc4]
push ecx
push 0x59
push 0x3b
push 0x4c
mov edx, dword [ebp - 0x13c]
push edx
push 0x2c
mov eax, dword [ebp - 0xc4]
push eax
call dword [sym.imp.USER32.dll_CreateIconFromResourceEx]
sub eax, 0x3c
mov dword [ebp - 0xe0], eax
mov ecx, dword [0x415050]
add ecx, 0x18
mov dword [0x415050], ecx
mov edx, dword [str._._IE_]
add edx, 0x41
mov dword [0x415034], edx
mov esi, dword [ebp - 0x25c]
sub esi, 0x57
sub esi, dword [ebp - 0x98]
call dword [sym.imp.KERNEL32.dll_ConvertFiberToThread]
add esi, eax
mov word [ebp - 0x134], si
mov dword [ebp - 0x124], 0x33
mov eax, dword [ebp - 0x108]
sub eax, 8
mov word [ebp - 0x12c], ax
mov ecx, dword [ebp - 0x13c]
xor ecx, 0x5d
mov dword [ebp - 0x1c4], ecx
mov dword [ebp - 0x98], 0x29
mov edx, dword [ebp - 0x108]
mov dword [ebp - 0x23c], edx
mov eax, 0x1f
sub eax, dword [ebp - 0xb8]
or eax, dword [ebp - 0x274]
mov dword [ebp - 0xd4], eax
mov ecx, dword [ebp - 0x8c]
sub ecx, dword [ebp - 0xe0]
add ecx, 1
movzx edx, word [ebp - 0x1b8]
sub ecx, edx
mov byte [ebp - 0xd9], cl
movzx eax, word [ebp - 0xf0]
mov ecx, 0x80
sub ecx, eax
add ecx, dword [0x415020]
mov word [ebp - 0xf0], cx
mov dword [str._._IE_], 0x1c
mov dword [ebp - 0x178], 0x16
mov dword [ebp - 0x1c4], 0x26
mov edx, dword [0x415024]
add edx, 0xd
sub edx, dword [ebp - 0xec]
and edx, 0x91
mov byte [ebp - 0x91], dl
mov dword [ebp - 0x22c], 0x5d
mov eax, dword [0x415038]
sub eax, 0x84
mov dword [ebp - 0x258], eax
mov dword [ebp - 0x108], 0x30
mov ecx, dword [ebp - 0x98]
mov dword [ebp - 0xc4], ecx
mov dword [ebp - 0x9c], 0x54
movzx edx, byte [ebp - 0x1d5]
mov dword [0x41502c], edx
mov eax, dword [0x415028]
mov dword [str._._IE_], eax
mov dword [0x415028], 0x5c
movzx ecx, byte [0x415028]
mov dword [0x415020], ecx
mov edx, dword [0x415024]
mov dword [ebp - 0x15c], edx
mov eax, dword [ebp - 0x274]
add eax, 0x5d
mov dword [ebp - 0x268], eax
mov ecx, dword [ebp - 0x124]
mov dword [ebp - 0x288], ecx
cmp dword [ebp - 0x288], 0
je 0x406fcc
cmp dword [ebp - 0x288], 1
je 0x406ff8
jmp 0x40700b
cmp dword [ebp - 0xa0], 0x41
jge 0x406ff6
movzx edx, word [ebp - 0xbc]
add edx, dword [ebp - 0x26c]
mov eax, dword [ebp - 0x268]
sub eax, dword [ebp - 0xc0]
sub eax, dword [ebp - 4]
or edx, eax
mov byte [ebp - 0x1d], dl
jmp 0x407024
movzx ecx, word [ebp - 0x134]
sub ecx, 6
mov word [ebp - 0x134], cx
jmp 0x407024
movzx edx, word [ebp - 0x1c8]
movzx eax, word [ebp - 0xd8]
lea ecx, [edx + eax + 0x39]
mov word [ebp - 0xf4], cx
mov dword [ebp - 0x124], 0xe
mov edx, dword [ebp - 0x268]
mov dword [ebp - 0x7c], edx
mov eax, dword [0x415048]
sub eax, 0x2d
mov dword [0x415048], eax
mov dword [ebp - 0x18c], 0x1c
movzx ecx, word [ebp - 0x1c]
mov edx, 0x18
sub edx, ecx
mov dword [ebp - 0xc0], edx
movzx eax, word [ebp - 0x1c8]
add eax, 0x52
mov word [ebp - 0x1c8], ax
movzx ecx, byte [ebp - 0x101]
add ecx, 0x4f
mov dword [ebp - 0xe0], ecx
mov edx, dword [ebp - 0xc0]
mov dword [0x415064], edx
mov eax, dword [ebp - 0xa4]
movzx ecx, byte [eax + 0x415090]
mov edx, dword [ebp - 0xa4]
add edx, 1
xor edx, dword [0x41508c]
mov eax, dword [ebp - 0xa4]
add eax, 1
sub eax, dword [0x41508c]
xor edx, eax
add ecx, edx
mov edx, dword [0x421ae4]
add edx, dword [ebp - 0xa4]
mov byte [edx], cl
movzx eax, word [ebp - 0x134]
mov ecx, dword [ebp - 0x13c]
lea edx, [eax + ecx + 0x40]
mov dword [ebp - 0xa8], edx
mov eax, dword [ebp - 0xb4]
cmp eax, dword [ebp - 0xec]
jae 0x407128
movzx ecx, word [ebp - 0x1c]
sub ecx, 0x17
xor ecx, 0x1a
mov word [ebp - 0xbc], cx
mov edx, dword [ebp - 0x8c]
add edx, dword [ebp - 0x98]
sub edx, dword [ebp - 0x25c]
movzx eax, word [ebp - 0x11c]
sub edx, eax
add edx, dword [ebp - 0x13c]
mov byte [ebp - 0x101], dl
jmp 0x40713b
movzx ecx, byte [ebp - 0x11d]
add ecx, dword [ebp - 0x274]
mov dword [ebp - 0x98], ecx
mov edx, 0x38
sub edx, dword [ebp - 0x26c]
mov dword [ebp - 0x98], edx
mov eax, 0xfffffff6
sub eax, dword [ebp - 0xc4]
sub eax, dword [ebp - 0x124]
mov byte [ebp - 0x136], al
mov ecx, 0x14
sub ecx, dword [ebp - 0xa0]
movzx edx, word [ebp - 0xbc]
add ecx, edx
mov dword [ebp - 0x25c], ecx
mov eax, dword [ebp - 0x274]
add eax, 0x3a
mov word [ebp - 0xd8], ax
mov ecx, dword [ebp - 0xa0]
add ecx, 0x3a
xor ecx, 0x56
movzx edx, word [ebp - 0x1b4]
add edx, ecx
mov word [ebp - 0x1b4], dx
movzx eax, word [ebp - 0x18]
sub eax, dword [ebp - 0x100]
or eax, dword [ebp - 0xc4]
mov dword [ebp - 0x25c], eax
mov ecx, dword [ebp - 0x124]
push ecx
mov edx, dword [ebp - 0x124]
push edx
mov eax, dword [ebp - 0xa0]
push eax
mov ecx, dword [ebp - 0x98]
push ecx
mov edx, dword [ebp - 0x124]
push edx
mov eax, dword [ebp - 0x9c]
push eax
call fcn.004078c0
add esp, 0x18
xor eax, 0xf
movzx ecx, word [ebp - 0xbc]
sub ecx, 0x29
or eax, ecx
mov word [ebp - 0xbc], ax
movzx edx, byte [ebp - 0x136]
mov eax, 0xfffffff1
sub eax, edx
sub eax, 0x49
mov word [ebp - 0x90], ax
movzx ecx, word [ebp - 0x1dc]
mov dword [ebp - 0x268], ecx
movzx edx, word [ebp - 0x264]
add edx, dword [ebp - 0xc4]
add edx, dword [ebp - 0xa8]
mov eax, 1
sub eax, dword [ebp - 0x98]
and edx, eax
mov byte [ebp - 6], dl
movzx esi, word [ebp - 0x18]
mov ecx, dword [ebp - 0x108]
push ecx
mov edx, dword [ebp - 0x108]
push edx
mov eax, dword [ebp - 0xc4]
push eax
mov ecx, dword [ebp - 0x274]
push ecx
mov edx, dword [ebp - 0xa0]
push edx
mov eax, dword [ebp - 0xc0]
push eax
call fcn.00407ce0
add esp, 0x18
lea ecx, [esi + eax + 0x61]
mov dword [ebp - 0xd4], ecx
mov edx, 0x24
sub edx, dword [ebp - 0xa0]
sub edx, 0x75
or edx, 0x15
mov byte [ebp - 7], dl
mov eax, dword [ebp - 0xe0]
mov ecx, dword [ebp - 0x124]
lea edx, [ecx + eax - 0x3c]
mov dword [ebp - 0xd4], edx
mov eax, dword [ebp - 0xa4]
add eax, 1
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp - 0x14]
xor ecx, 0x5c
or ecx, 0x52
mov dword [ebp - 0xec], ecx
mov edx, dword [ebp - 0x124]
sub edx, dword [ebp - 0xc4]
sub edx, dword [ebp - 0x268]
sub edx, 0x11
mov word [ebp - 0x18], dx
movzx esi, word [ebp - 0xf0]
mov eax, dword [ebp - 0x98]
push eax
mov ecx, dword [ebp - 0x274]
push ecx
mov edx, dword [ebp - 0x124]
push edx
mov eax, dword [ebp - 0x274]
push eax
call fcn.00407560
add esp, 0x10
and eax, 0x4a
xor esi, eax
mov dword [ebp - 4], esi
mov ecx, dword [ebp - 0x274]
mov dword [ebp - 0x70], ecx
mov edx, 0x10
sub edx, dword [ebp - 0xb8]
mov eax, dword [ebp - 0x9c]
lea ecx, [edx + eax - 0x4c]
mov word [ebp - 0x90], cx
mov edx, dword [str._Y__B]
sub edx, 0x53
mov dword [str._Y__B], edx
mov eax, dword [ebp - 0x8c]
mov dword [0x415028], eax
mov ecx, dword [0x415050]
and ecx, 0x54
mov dword [0x415050], ecx
mov edx, 0x2b
sub edx, dword [str._._IE_]
xor edx, 0x1e
mov dword [ebp - 0x114], edx
mov eax, dword [ebp - 0xa4]
cmp eax, dword [0x415088]
jne 0x406a1c
movzx ecx, word [ebp - 0x1c]
mov edx, 0x34
sub edx, ecx
movzx eax, word [ebp - 0x1b4]
sub eax, edx
mov word [ebp - 0x1b4], ax
mov ecx, dword [ebp - 0xe0]
mov dword [ebp - 0x234], ecx
mov dword [ebp - 0x268], 0x43
movzx edx, word [ebp - 0x254]
mov eax, dword [ebp - 0x108]
sub eax, edx
xor eax, 0xc
movzx ecx, word [ebp - 0x10c]
add ecx, eax
mov word [ebp - 0x10c], cx
mov edx, dword [ebp - 0x268]
add edx, 0x5a
or edx, dword [ebp - 0x108]
mov dword [ebp - 0xb8], edx
mov esi, dword [ebp - 0xc4]
add esi, 0x5c
mov eax, dword [ebp - 0x13c]
push eax
call fcn.00402850
add esp, 4
sub esi, eax
mov dword [ebp - 0x8c], esi
mov cx, word [ebp - 0xa0]
mov word [ebp - 0xc0], cx
mov dword [ebp - 0x21c], 0x30
mov edx, 0xb7
sub edx, dword [ebp - 0x274]
mov dword [ebp - 0x258], edx
mov eax, dword [0x41505c]
imul eax, eax, 0x62
mov dword [0x41505c], eax
lea ecx, [ebp - 0xc4]
sub ecx, 0x19
mov edx, dword [ecx]
mov dword [ebp - 0x13c], edx
mov eax, dword [ebp - 0x124]
sub eax, 0x4d
sub eax, dword [ebp - 0x268]
sub eax, dword [ebp - 0x98]
xor eax, 0x24
mov byte [ebp - 0x11d], al
movzx ecx, word [ebp - 0x1b8]
sub ecx, 0x3b
mov dword [ebp - 0x108], ecx
movzx edx, word [ebp - 0xf8]
add edx, dword [0x415060]
mov dword [0x415060], edx
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x2c], eax
movzx esi, word [ebp - 0xf4]
sub esi, 0x25
mov ecx, dword [ebp - 0xe0]
push ecx
mov edx, dword [ebp - 0xe0]
push edx
mov eax, dword [ebp - 0x98]
push eax
mov ecx, dword [ebp - 0xa0]
push ecx
call fcn.00407560
add esp, 0x10
or esi, eax
mov dword [ebp - 0x25c], esi
mov edx, dword [0x415038]
mov eax, dword [ebp - 0xec]
lea ecx, [eax + edx - 0x33]
xor ecx, 0x42
mov byte [ebp - 7], cl
movzx edx, word [ebp - 0xf0]
mov eax, dword [0x415034]
sub eax, edx
sub eax, 0x46
or eax, 0x52
mov word [ebp - 0x18], ax
movzx ecx, byte [0x415024]
mov dword [0x415034], ecx
mov edx, dword [0x415034]
mov dword [ebp - 0x240], edx
mov eax, dword [0x415020]
xor eax, dword [str._._IE_]
mov dword [0x415038], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret