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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [ebp + 0x10]
sub esp, 0x84
push ebx
push esi
push edi
cmp eax, 0xa1
ja 0x41b620
je 0x41b531
add eax, 0xfffffffa
cmp eax, 0x7e
ja case.0x41acb6.7
movzx eax, byte [eax + 0x41bab8]
jmp dword [eax*4 + 0x41baa4]
mov eax, dword [ebp + 0x14]
cmp ax, 2
je 0x41acef
cmp ax, 1
jne 0x41ba97
push 0x17
call dword [0x439310]
neg eax
sbb eax, eax
add eax, 2
push eax
call dword [0x439290]
test ax, ax
jne 0x41ba97
mov edi, dword [ebp + 0xc]
push edi
call dword [0x439300]
mov esi, eax
test esi, esi
je case.0x41acb6.7
lea ecx, [esp + 0x1f]
push ecx
push 0x41ab90
push esi
mov byte [esp + 0x2b], 1
call dword [0x439240]
cmp byte [esp + 0x1f], 0
je 0x41ba97
push 0x61b
push 0
push 0
push 0
push 0
push esi
push edi
call dword [0x43930c]
push esi
call dword [0x439304]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov edx, dword [ebp + 0xc]
push edx
call dword [0x439300]
mov dword [esp + 0x10], eax
test eax, eax
je case.0x41acb6.7
mov esi, dword [ebp + 8]
add esi, 0x7c
lea edi, [esp + 0x10]
lea ebx, [esp + 0xc]
call fcn.00402550
mov eax, dword [esp + 0xc]
mov ecx, dword [ebp + 8]
cmp eax, dword [ecx + 0x84]
je 0x41b061
add eax, 0xc
lea esi, [esp + 0x20]
call fcn.00418a30
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x54]
push edx
push eax
mov dword [esp + 0x5c], 0x3c
call dword [0x4392a8]
mov ecx, dword [esp + 0x78]
and ecx, 0x1000000
cmp ecx, 0x1000000
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x74]
setne byte [esp + 0xc]
mov edx, dword [esp + 0xc]
push edx
lea eax, [esp + 0x44]
call fcn.00418560
mov eax, dword [ebp + 0xc]
lea edx, [esp + 0x30]
push edx
push eax
call dword [0x4392f8]
mov eax, dword [ebp + 0x18]
mov ebx, dword [esp + 0x40]
movsx edi, ax
shr eax, 0x10
movsx esi, ax
mov eax, dword [esp + 0x78]
sub esi, dword [esp + 0x34]
and eax, 0x80000
mov dword [esp + 0x18], eax
je 0x41ae27
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x38]
push ecx
lea eax, [ebx + 0x40]
mov ecx, edi
call fcn.0041ab40
test al, al
je 0x41ae27
mov esi, 5
jmp 0x41af70
mov ecx, dword [esp + 0x78]
mov eax, ecx
and eax, 0x20000
jne 0x41aeba
test ecx, 0x10000
jne 0x41aeba
test dword [esp + 0x7c], 0x400
je 0x41ae96
mov edx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x3c]
lea eax, [ebx + 0xf4]
mov ecx, edi
call fcn.0041ab40
test al, al
je 0x41ae6e
mov esi, 0x15
jmp 0x41af70
mov eax, dword [esp + 0x30]
push eax
lea eax, [ebx + 0xac]
mov edx, dword [esp + 0x3c]
mov ecx, edi
call fcn.0041ab40
test al, al
je 0x41af0d
mov esi, 0x14
jmp 0x41af70
cmp dword [esp + 0x18], 0x80000
jne 0x41af0d
cmp dword [ebx + 0x2c], 0
je 0x41aeb3
mov ecx, dword [esp + 0x30]
push ecx
lea eax, [ebx + 0xd0]
jmp 0x41ae79
mov edx, dword [esp + 0x30]
push edx
jmp 0x41ae73
cmp eax, 0x20000
jne 0x41aee2
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x38]
push eax
lea eax, [ebx + 0x64]
mov ecx, edi
call fcn.0041ab40
test al, al
je 0x41aee2
mov esi, 8
jmp 0x41af70
test dword [esp + 0x78], 0x10000
je 0x41aeb3
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x38]
push ecx
lea eax, [ebx + 0x88]
mov ecx, edi
call fcn.0041ab40
test al, al
je 0x41aeb3
mov esi, 9
jmp 0x41af70
cmp byte [esp + 0xc], 0
jne 0x41af1b
mov esi, 0x12
jmp 0x41af70
test dword [esp + 0x78], 0x40000
jne 0x41af2c
mov esi, 2
jmp 0x41af70
mov eax, dword [ebx + 0x128]
add eax, dword [esp + 0x30]
cmp edi, eax
jg 0x41af41
mov esi, 0xd
jmp 0x41af70
mov eax, dword [esp + 0x38]
sub eax, dword [ebx + 0x130]
cmp edi, eax
jl 0x41af56
mov esi, 0xe
jmp 0x41af70
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x74]
xor eax, eax
cmp esi, dword [edx + 0xff00]
setg al
dec eax
and eax, 0xa
add eax, 2
mov esi, eax
mov edi, dword [esp + 0x20]
mov eax, dword [edi + 0x10]
mov ecx, eax
and cl, 0x10
cmp cl, 0x10
sete cl
and eax, 0xffffffef
mov dword [edi + 0x10], eax
test cl, cl
jne 0x41af95
call fcn.0041c610
test al, al
je 0x41afb5
sub esp, 8
lea eax, [esp + 0x28]
mov esi, esp
call fcn.00418a30
mov edx, dword [esp + 0x14]
mov eax, dword [ebp + 8]
push edx
push eax
mov eax, dword [esp + 0x20]
call fcn.004052c0
lea eax, [esp + 0x40]
call fcn.00402510
lea eax, [esp + 0x20]
call fcn.00402510
mov eax, 2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [ebp + 0xc]
push ecx
call dword [0x439300]
mov dword [esp + 0xc], eax
test eax, eax
je case.0x41acb6.7
mov esi, dword [ebp + 8]
add esi, 0x7c
lea edi, [esp + 0xc]
lea ebx, [esp + 0x10]
call fcn.00402550
mov eax, dword [esp + 0x10]
mov edx, dword [ebp + 8]
cmp eax, dword [edx + 0x84]
je 0x41b061
add eax, 0xc
lea esi, [esp + 0x20]
call fcn.00418a30
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x14]
sub eax, 0xc
je 0x41b044
sub eax, 1
je 0x41b03d
sub eax, 1
je 0x41b036
push 0x7f00
jmp 0x41b049
push 0x7f83
jmp 0x41b049
push 0x7f82
jmp 0x41b049
push 0x7f85
push 0
call dword [0x439314]
push eax
call dword [0x4392f4]
lea eax, [esp + 0x20]
call fcn.00402510
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [ebp + 0x18]
test byte [ecx + 0x18], 2
jne case.0x41acb6.7
mov edx, dword [ebp + 0xc]
push edx
call dword [0x439300]
mov dword [esp + 0x18], eax
test eax, eax
je case.0x41acb6.7
mov esi, dword [ebp + 8]
add esi, 0x7c
lea edi, [esp + 0x18]
lea ebx, [esp + 0xc]
call fcn.00402550
mov eax, dword [esp + 0xc]
mov ecx, dword [ebp + 8]
cmp eax, dword [ecx + 0x84]
je case.0x41acb6.7
add eax, 0xc
lea esi, [esp + 0x30]
call fcn.00418a30
mov edi, dword [esp + 0x18]
push edi
call dword [0x4392fc]
test eax, eax
je 0x41b189
mov ebx, dword [ebp + 8]
cmp byte [ebx + 0xd8], 0
je 0x41b11d
mov esi, dword [esp + 0x30]
call fcn.0041c7b0
test al, al
je 0x41b11d
lea esi, [esp + 0xc]
call fcn.0041c820
push 9
push edi
call dword [0x4392d4]
mov eax, esi
call fcn.0041c870
lea eax, [esp + 0x30]
call fcn.00402510
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
lea edx, [esp + 0x40]
push edx
push edi
call dword [0x4392f8]
mov eax, dword [ebx + 0x74]
cmp dword [eax + 0xff14], 0
lea ecx, [eax + 0xff14]
je 0x41b13f
mov eax, ecx
jmp 0x41b144
add eax, 0xff0c
lea esi, [esp + 0x20]
call fcn.00418a30
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x40]
sub edx, dword [eax + 0x128]
mov ecx, dword [ebp + 0x18]
mov dword [ecx + 8], edx
mov edx, dword [esp + 0x44]
sub edx, dword [eax + 0x11c]
mov eax, esi
mov dword [ecx + 0xc], edx
call fcn.00402510
lea eax, [esp + 0x30]
call fcn.00402510
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x74]
add eax, 0xff0c
lea esi, [esp + 0x40]
call fcn.00418a30
mov esi, dword [0x439310]
mov edi, dword [esp + 0x40]
push 0x20
call esi
push 0x21
mov dword [esp + 0x14], eax
call esi
push 4
mov ebx, eax
call esi
mov ecx, dword [esp + 0x30]
add ebx, eax
mov eax, dword [ecx + 0x14]
mov dword [esp + 0xc], ebx
cmp eax, 2
jne 0x41b2ce
mov ebx, dword [esp + 0x18]
push ebx
lea esi, [esp + 0x58]
call fcn.0041c190
lea edx, [esp + 0x20]
push edx
call dword [0x4392cc]
mov ecx, dword [ebp + 0x18]
lea eax, [ecx + 0xc]
push eax
lea edx, [ecx + 8]
mov dword [esp + 0x54], eax
push ebx
lea eax, [esp + 0x28]
mov ecx, esi
mov ebx, edx
call fcn.0041c1d0
mov eax, dword [esp + 0x18]
push 0xfffffffffffffff0
push eax
call dword [0x439324]
test eax, 0x10000
je 0x41b27b
mov esi, dword [ebp + 8]
add esi, 0xd8
cmp byte [esi], 0
je 0x41b27b
mov ecx, dword [esp + 0x6c]
lea edx, [ecx + 5]
mov ecx, dword [esp + 0x24]
cmp ecx, edx
mov edx, dword [esp + 0x20]
jge 0x41b246
mov eax, dword [esp + 0x18]
push 1
call fcn.0041a920
jmp 0x41b27b
mov eax, dword [esp + 0x68]
add eax, 5
cmp edx, eax
jge 0x41b25e
mov eax, dword [esp + 0x18]
push 2
call fcn.0041a920
jmp 0x41b27b
mov eax, dword [esp + 0x70]
add eax, 0xfffffffb
cmp edx, eax
jle 0x41b276
mov eax, dword [esp + 0x18]
push 3
call fcn.0041a920
jmp 0x41b27b
call fcn.0041aaf0
mov ecx, dword [edi + 0x11c]
sub ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x50]
add ecx, dword [edx]
mov eax, dword [edi + 0x128]
sub eax, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
push 0x615
push 0
push 0
push ecx
mov ecx, ebx
add eax, dword [ecx]
push eax
push 0
push edx
call dword [0x43930c]
lea eax, [esp + 0x40]
call fcn.00402510
lea eax, [esp + 0x30]
call fcn.00402510
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
cmp eax, 0xc
jne 0x41b35e
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x20]
push eax
push ecx
call dword [0x4392f8]
mov eax, dword [ebp + 0x18]
mov edx, dword [esp + 0x18]
lea esi, [eax + 0xc]
push esi
lea ebx, [eax + 8]
push edx
xor eax, eax
xor ecx, ecx
call fcn.0041c1d0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x74]
mov eax, dword [ecx + 0xff08]
mov edx, dword [esp + 0x20]
sub eax, dword [esp + 0xc]
mov ecx, edx
sub ecx, dword [edi + 0x128]
add eax, dword [edi + 0x11c]
add ecx, dword [esp + 0x10]
mov dword [ebx], ecx
mov ebx, dword [esp + 0x2c]
mov ecx, ebx
sub ecx, eax
cmp dword [esi], ecx
jle 0x41b335
mov dword [esi], ecx
mov edi, dword [edi + 0x11c]
sub edi, dword [esp + 0xc]
mov eax, dword [esp + 0x28]
add edi, dword [esi]
mov ecx, dword [esp + 0x18]
push 0x614
sub ebx, edi
push ebx
sub eax, edx
push eax
push edi
push edx
push 0
push ecx
jmp 0x41b2ab
cmp eax, 0xd
jne 0x41b43e
mov esi, dword [esp + 0x18]
lea edx, [esp + 0x20]
push edx
push esi
call dword [0x4392f8]
mov ebx, dword [ebp + 0x18]
lea eax, [ebx + 0xc]
push eax
add ebx, 8
push esi
xor eax, eax
xor ecx, ecx
call fcn.0041c1d0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x74]
mov eax, dword [ecx + 0xff04]
mov esi, dword [esp + 0x10]
mov ecx, dword [ecx + 0xff08]
mov edx, dword [edi + 0x130]
sub ecx, dword [esp + 0xc]
add esi, esi
add ecx, dword [edi + 0x11c]
sub eax, esi
mov esi, dword [esp + 0x28]
sub esi, dword [ebx]
add eax, dword [edi + 0x128]
sub esi, dword [esp + 0x10]
add eax, edx
add edx, esi
cmp edx, eax
mov esi, dword [ebp + 0x18]
mov dword [esi + 0x10], edx
jge 0x41b3e8
mov dword [esi + 0x10], eax
mov edx, dword [edi + 0x130]
sub edx, eax
sub edx, dword [esp + 0x10]
add edx, dword [esp + 0x28]
mov dword [ebx], edx
mov edx, dword [esp + 0x2c]
mov eax, edx
sub eax, ecx
cmp dword [esi + 0xc], eax
jle 0x41b3f8
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x11c]
sub eax, dword [esp + 0xc]
mov ecx, dword [edi + 0x128]
add eax, dword [esi + 0xc]
push 0x614
sub edx, eax
push edx
mov edx, dword [esi + 0x10]
sub edx, dword [edi + 0x130]
mov esi, dword [esp + 0x18]
sub edx, ecx
mov edi, edx
lea edx, [esi + esi]
add edi, edx
push edi
push eax
mov eax, dword [ebx]
sub eax, esi
add eax, ecx
mov ecx, dword [esp + 0x28]
push eax
push 0
push ecx
jmp 0x41b2ab
cmp eax, 0xe
jne 0x41b51a
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x20]
push edx
push eax
call dword [0x4392f8]
mov esi, dword [ebp + 0x18]
mov ecx, dword [esp + 0x18]
lea eax, [esi + 0xc]
push eax
push ecx
lea ebx, [esi + 8]
xor eax, eax
xor ecx, ecx
call fcn.0041c1d0
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x74]
mov eax, dword [ecx + 0xff04]
mov edx, dword [esp + 0x10]
mov ecx, dword [ecx + 0xff08]
sub ecx, dword [esp + 0xc]
add edx, edx
add ecx, dword [edi + 0x11c]
sub eax, edx
add eax, dword [edi + 0x130]
mov dword [esp + 0x14], edx
mov edx, dword [ebx]
sub edx, dword [esp + 0x20]
add eax, dword [edi + 0x128]
sub edx, dword [esp + 0x10]
add edx, dword [edi + 0x128]
add dword [esi + 0x10], edx
mov edx, dword [esp + 0x20]
sub edx, dword [edi + 0x128]
add edx, dword [esp + 0x10]
cmp dword [esi + 0x10], eax
mov dword [esi + 8], edx
jge 0x41b4cf
mov dword [esi + 0x10], eax
mov edx, dword [esp + 0x2c]
mov eax, edx
sub eax, ecx
cmp dword [esi + 0xc], eax
jle 0x41b4df
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x11c]
sub eax, dword [esp + 0xc]
mov ecx, dword [esi + 0x10]
add eax, dword [esi + 0xc]
sub ecx, dword [edi + 0x130]
push 0x614
sub ecx, dword [edi + 0x128]
sub edx, eax
add ecx, dword [esp + 0x18]
push edx
mov edx, dword [esp + 0x28]
push ecx
push eax
mov eax, dword [esp + 0x28]
push edx
push 0
push eax
jmp 0x41b2ab
lea eax, [esp + 0x40]
call fcn.00402510
lea eax, [esp + 0x30]
call fcn.00402510
jmp case.0x41acb6.7
cmp dword [ebp + 0x14], 2
jne case.0x41acb6.7
mov ecx, dword [ebp + 0xc]
push ecx
call dword [0x439300]
mov dword [esp + 0xc], eax
test eax, eax
je case.0x41acb6.7
mov esi, dword [ebp + 8]
add esi, 0x7c
lea edi, [esp + 0xc]
lea ebx, [esp + 0x14]
call fcn.00402550
mov eax, dword [esp + 0x14]
mov ebx, dword [ebp + 8]
cmp eax, dword [ebx + 0x84]
je case.0x41acb6.7
add eax, 0xc
lea esi, [esp + 0x40]
call fcn.00418a30
mov edx, dword [esp + 0x40]
mov eax, dword [edx + 0x14]
cmp eax, 5
je 0x41b60c
cmp eax, 8
je 0x41b5dd
cmp eax, 9
je 0x41b5dd
cmp eax, 0x15
je 0x41b5dd
cmp eax, 0x14
je 0x41b5dd
mov eax, dword [esp + 0xc]
or ebx, 0xffffffff
push eax
mov esi, ebx
mov edi, ebx
call dword [0x4392fc]
test eax, eax
je 0x41b5c5
mov eax, dword [ebp + 0x18]
movsx esi, ax
shr eax, 0x10
movsx edi, ax
mov eax, dword [esp + 0x40]
mov dword [eax + 0x20], esi
mov dword [eax + 0x24], edi
lea eax, [esp + 0x40]
call fcn.00402510
jmp case.0x41acb6.7
mov edi, dword [esp + 0xc]
push edi
call dword [0x4392fc]
test eax, eax
sete cl
sub esp, 8
lea eax, [esp + 0x48]
mov esi, esp
mov byte [esp + 0x1c], cl
call fcn.00418a30
mov edx, dword [esp + 0x1c]
push edx
push ebx
mov eax, edi
call fcn.004052c0
lea eax, [esp + 0x40]
call fcn.00402510
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
cmp eax, 0xa4
ja 0x41b9d1
je 0x41b997
sub eax, 0xa2
je 0x41b735
sub eax, 1
jne case.0x41acb6.7
cmp dword [ebp + 0x14], 2
jne case.0x41acb6.7
mov eax, dword [ebp + 0xc]
push eax
call dword [0x439300]
mov dword [esp + 0xc], eax
test eax, eax
je case.0x41acb6.7
mov esi, dword [ebp + 8]
add esi, 0x7c
lea edi, [esp + 0xc]
lea ebx, [esp + 0x14]
call fcn.00402550
mov eax, dword [esp + 0x14]
mov ecx, dword [ebp + 8]
cmp eax, dword [ecx + 0x84]
je case.0x41acb6.7
add eax, 0xc
lea esi, [esp + 0x20]
call fcn.00418a30
mov esi, dword [esp + 0x20]
cmp dword [esi + 0x14], 5
jne 0x41b6cc
mov edx, dword [esp + 0xc]
push 0
push 0xf060
push 0x112
push edx
call dword [0x4392dc]
lea eax, [esp + 0x20]
call fcn.00402510
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov edi, dword [esp + 0xc]
push 0xfffffffffffffff0
push edi
call dword [0x439324]
test eax, 0x10000
je 0x41ba8e
or ebx, 0xffffffff
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
test eax, 0x1000000
je 0x41b718
push 9
push edi
call dword [0x4392d4]
lea eax, [esp + 0x20]
call fcn.00402510
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
push 3
push edi
call dword [0x4392d4]
lea eax, [esp + 0x20]
call fcn.00402510
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
cmp dword [ebp + 0x14], 2
jne case.0x41acb6.7
mov eax, dword [ebp + 0xc]
push eax
call dword [0x439300]
mov dword [esp + 0xc], eax
test eax, eax
je case.0x41acb6.7
mov esi, dword [ebp + 8]
add esi, 0x7c
lea edi, [esp + 0xc]
lea ebx, [esp + 0x14]
call fcn.00402550
mov eax, dword [esp + 0x14]
mov edi, dword [ebp + 8]
cmp eax, dword [edi + 0x84]
je case.0x41acb6.7
add eax, 0xc
lea esi, [esp + 0x30]
call fcn.00418a30
mov esi, dword [esp + 0x30]
mov eax, dword [esi + 0x14]
test eax, eax
je 0x41b799
mov dword [esi + 0x14], 0
or ebx, 0xffffffff
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
cmp eax, 5
jne 0x41b866
mov ebx, dword [esp + 0xc]
push ebx
call dword [0x439230]
lea ecx, [esp + 0x40]
push ecx
push ebx
call dword [0x4392f8]
push ebx
call dword [0x4392fc]
mov ecx, dword [edi + 0x74]
test eax, eax
sete byte [esp + 0x10]
mov edx, dword [esp + 0x10]
push edx
lea eax, [esp + 0x24]
call fcn.00418560
mov eax, dword [esp + 0x20]
cmp byte [eax + 0x62], 0
mov esi, dword [esp + 0x44]
je 0x41b7f5
mov ecx, dword [esp + 0x40]
jmp 0x41b800
call fcn.0041ac00
mov ecx, dword [esp + 0x48]
sub ecx, eax
cmp byte [esp + 0x10], 0
mov dword [esp + 0xc], ecx
je 0x41b847
mov edi, dword [0x439310]
push 0x20
call edi
push 0x21
mov dword [esp + 0x14], eax
call edi
push 4
mov dword [esp + 0x18], eax
call edi
add eax, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
add esi, eax
cmp byte [edx + 0x62], 0
je 0x41b83f
mov eax, dword [esp + 0x10]
add dword [esp + 0xc], eax
jmp 0x41b847
mov ecx, dword [esp + 0x10]
sub dword [esp + 0xc], ecx
shl esi, 0x10
add esi, dword [esp + 0xc]
push esi
push 0
push 0x313
push ebx
call dword [0x43931c]
lea eax, [esp + 0x20]
jmp 0x41b2b5
cmp eax, 8
jne 0x41b89d
push 0
call fcn.0041c6f0
mov edx, dword [esp + 0xc]
push 0
push 0xf020
push 0x112
push edx
call dword [0x4392dc]
lea eax, [esp + 0x30]
call fcn.00402510
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
cmp eax, 9
jne 0x41b908
mov edi, dword [esp + 0xc]
push 0xfffffffffffffff0
push edi
call dword [0x439324]
test eax, 0x10000
je 0x41b2ba
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
test eax, 0x1000000
je 0x41b8eb
push 9
push edi
call dword [0x4392d4]
lea eax, [esp + 0x30]
call fcn.00402510
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
push 3
push edi
call dword [0x4392d4]
lea eax, [esp + 0x30]
call fcn.00402510
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
cmp eax, 0x15
jne 0x41b963
mov ebx, dword [esp + 0xc]
push ebx
call dword [0x4392fc]
test eax, eax
sete al
sub esp, 8
mov byte [esp + 0x1c], al
lea eax, [esp + 0x38]
mov esi, esp
call fcn.00418a30
mov ecx, dword [esp + 0x1c]
push ecx
push edi
mov eax, ebx
call fcn.004052c0
push 0
push 0xf180
push 0x112
push ebx
call dword [0x4392dc]
lea eax, [esp + 0x30]
call fcn.00402510
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
cmp eax, 0x14
jne 0x41b523
mov edx, dword [esp + 0xc]
push 0
push 0xf060
push 0x112
push edx
call dword [0x4392dc]
lea eax, [esp + 0x30]
call fcn.00402510
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
cmp dword [ebp + 0x14], 2
jne case.0x41acb6.7
mov eax, dword [ebp + 0xc]
push eax
call dword [0x439300]
mov esi, eax
test esi, esi
je case.0x41acb6.7
push esi
call dword [0x439230]
mov ecx, dword [ebp + 0x18]
push ecx
push 0
push 0x313
push esi
call dword [0x43931c]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
cmp eax, 0x2a2
jne case.0x41acb6.7
mov edx, dword [ebp + 0xc]
push edx
call dword [0x439300]
mov dword [esp + 0xc], eax
test eax, eax
je case.0x41acb6.7
mov esi, dword [ebp + 8]
add esi, 0x7c
lea edi, [esp + 0xc]
lea ebx, [esp + 0x14]
call fcn.00402550
mov eax, dword [esp + 0x14]
mov ebx, dword [ebp + 8]
cmp eax, dword [ebx + 0x84]
jne 0x41ba2b
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push ecx
push edx
push eax
call dword [0x439308]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
add eax, 0xc
lea esi, [esp + 0x20]
call fcn.00418a30
mov esi, dword [esp + 0x20]
mov eax, dword [esi + 0x14]
cmp eax, 8
je 0x41ba52
cmp eax, 9
je 0x41ba52
cmp eax, 0x14
je 0x41ba52
cmp eax, 0x15
jne 0x41ba8e
mov edi, dword [esp + 0xc]
push edi
call dword [0x4392fc]
test eax, eax
sete cl
cmp dword [esi + 0x14], 0
mov byte [esp + 0x14], cl
je 0x41ba73
mov dword [esi + 0x14], 0
sub esp, 8
lea eax, [esp + 0x28]
mov esi, esp
call fcn.00418a30
mov edx, dword [esp + 0x1c]
push edx
push ebx
mov eax, edi
call fcn.004052c0
lea eax, [esp + 0x20]
call fcn.00402510
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x14