Function at 0x432e20
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x44b0
call fcn.004918e0
mov eax, dword [0x4a9c68]
push ebx
xor ebx, ebx
push esi
push edi
mov dword [ebp - 0xc], eax
cmp eax, ebx
jne 0x432e6f
cmp dword [0x4abd40], 1
mov edx, dword [ebp + 8]
sete al
test al, al
sete al
movzx ecx, al
push ecx
push edx
mov dword [0x4abd40], ebx
call fcn.0042e3e0
lea esp, [ebp - 0x44bc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [0x4a9ccc]
mov edi, dword [0x4a9cc4]
mov esi, dword [0x4a9cc8]
mov dword [ebp - 0x20], eax
mov dword [0x4abd40], ebx
mov dword [0x4abd6c], 1
mov word [0x4abd70], bx
mov dword [0x4abd7c], 0x3fff
mov al, byte [edi]
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 6], bl
test al, al
je 0x432f7c
lea esi, [edi + 1]
lea ebx, [ebx]
movzx ebx, al
test ebx, 0xffffff80
jne 0x432edd
push 2
push ebx
call fcn.004865fe
add esp, 8
test eax, eax
je 0x432edd
and ebx, 0xffffffdf
movsx eax, bl
add eax, 0xffffffd6
cmp eax, 0x2c
ja case.0x432ef3.43
movzx ecx, byte [eax + 0x433d34]
jmp dword [ecx*4 + 0x433d0c]
mov byte [0x4abd6c], 0
jmp case.0x432ef3.43
mov byte [0x4abd6d], 1
jmp case.0x432ef3.43
mov byte [0x4abd6e], 1
jmp case.0x432ef3.43
mov byte [0x4abd6f], 1
jmp case.0x432ef3.43
push esi
call fcn.00486646
add esp, 4
mov dword [0x4abd7c], eax
cmp eax, 0x3fff
jle case.0x432ef3.43
mov dword [0x4abd7c], 0x3fff
jmp case.0x432ef3.43
call fcn.00412c80
fmul qword [0x4a08d8]
call fcn.00493ad0
mov dword [ebp - 0x1c], eax
jmp case.0x432ef3.43
mov byte [0x4abd70], 1
jmp case.0x432ef3.43
mov byte [0x4abd71], 1
jmp case.0x432ef3.43
mov byte [ebp - 6], 1
mov al, byte [edi + 1]
inc edi
inc esi
test al, al
jne 0x432ec0
mov esi, dword [ebp - 0x28]
xor ebx, ebx
push 0xff
lea edx, [ebp - 0x2ab]
push ebx
push edx
mov byte [ebp - 0x2ac], 0
call fcn.0048e5e0
add esp, 0xc
push 0x1ff
lea eax, [ebp - 0x4ab]
push ebx
push eax
mov byte [ebp - 0x4ac], 0
call fcn.0048e5e0
add esp, 0xc
mov byte [ebp - 0x17], 0
cmp byte [esi], 0
mov dword [ebp - 0x10], ebx
mov eax, esi
mov dword [ebp - 0x14], esi
je 0x433172
mov byte [ebp - 0x18], 0
mov cl, byte [eax]
movsx eax, cl
sub eax, 0x7b
je 0x43309f
sub eax, 2
je 0x433162
cmp byte [ebp - 6], 0
je 0x432ff2
inc dword [ebp - 0x10]
jmp 0x433162
push 0
mov byte [ebp - 0x18], cl
mov byte [ebp - 5], 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov dl, byte [ebp - 0x18]
test dl, dl
je 0x433162
cmp byte [ebp - 0x17], 0
jne 0x433025
mov ecx, eax
lea esi, [ebp - 5]
mov al, dl
call fcn.00411f00
mov bl, al
jmp 0x43312a
movzx esi, dl
test esi, 0xffffff80
jne 0x433042
push 2
push esi
call fcn.004865fe
add esp, 8
test eax, eax
je 0x433042
and esi, 0xffffffdf
mov eax, esi
cmp al, 0x56
jne 0x43306b
mov al, byte [ebp - 0x17]
call fcn.00409410
cmp al, 0x4b
jne 0x43306b
push 0x10
lea ecx, [ebp - 0x16]
push 0
push ecx
call fcn.00486a44
add esp, 0xc
mov bl, al
jmp 0x43312a
xor esi, esi
lea ecx, [ecx]
mov eax, dword [esi*8 + 0x4a7180]
lea edx, [ebp - 0x18]
push edx
push eax
call fcn.004850c1
add esp, 8
test eax, eax
je 0x433093
inc esi
cmp esi, 0x6d
jl 0x433070
jmp 0x433162
mov bl, byte [esi*8 + 0x4a7184]
jmp 0x43312a
mov edi, dword [ebp - 0x14]
inc edi
push 0x7d
push edi
call fcn.004860b1
mov esi, eax
add esp, 8
test esi, esi
je 0x433162
sub eax, dword [ebp - 0x14]
dec eax
jne 0x4330cb
cmp byte [esi + 1], 0x7d
jne 0x433162
inc esi
jmp 0x4330d0
cmp eax, 1
jne 0x4330e3
cmp byte [ebp - 6], 0
je 0x4330de
inc dword [ebp - 0x10]
jmp 0x433162
mov al, byte [edi]
mov byte [ebp - 0x18], al
push 0
mov byte [esi], 0
mov byte [ebp - 5], 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push 1
mov ecx, eax
push 1
lea edx, [ebp - 5]
mov eax, edi
call fcn.00411e40
mov bl, al
add esp, 8
test bl, bl
jne 0x433124
mov eax, edi
call fcn.00411da0
movzx eax, ax
test ax, ax
je 0x433124
mov ecx, eax
mov byte [ebp + ecx - 0x4ac], 1
mov byte [esi], 0x7d
mov dword [ebp - 0x14], esi
test bl, bl
je 0x433162
movzx esi, bl
or byte [ebp + esi - 0x2ac], 1
cmp byte [ebp - 0x18], 0
lea esi, [ebp + esi - 0x2ac]
je 0x433162
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.USER32.dll_IsCharAlphaA]
test eax, eax
jne 0x433162
test byte [ebp - 5], 0x30
je 0x43315f
or byte [esi], 2
jmp 0x433162
or byte [esi], 4
mov eax, dword [ebp - 0x14]
inc eax
cmp byte [eax], 0
mov dword [ebp - 0x14], eax
jne 0x432fc9
mov eax, dword [ebp - 0x10]
mov dword [0x4abd4c], 0x498831
test eax, eax
je 0x4331e8
inc eax
call fcn.0048eb40
mov esi, dword [ebp - 0x28]
mov eax, esp
mov dword [0x4abd4c], eax
cmp byte [esi], 0
mov edi, eax
je 0x4331e5
lea ebx, [ebx]
mov cl, byte [esi]
movsx eax, cl
sub eax, 0x7b
je 0x4331b4
sub eax, 2
je 0x4331df
mov byte [edi], cl
inc edi
jmp 0x4331df
lea ebx, [esi + 1]
push 0x7d
push ebx
call fcn.004860b1
add esp, 8
test eax, eax
je 0x4331df
cmp eax, ebx
jne 0x4331d1
cmp byte [eax + 1], 0x7d
jne 0x4331d1
inc eax
add esi, 2
cmp eax, esi
jne 0x4331dd
mov cl, byte [ebx]
mov byte [edi], cl
inc edi
mov esi, eax
inc esi
cmp byte [esi], 0
jne 0x4331a0
mov byte [edi], 0
mov edi, dword [ebp - 0x20]
mov dword [0x4abd5c], 0
cmp byte [edi], 0
je 0x433415
cmp dword [0x4abd58], 0
jne 0x43324a
push 0x1000
call fcn.00485279
add esp, 4
mov dword [0x4abd58], eax
test eax, eax
jne 0x433240
mov ecx, dword [ebp + 8]
push 0x498831
push 0
push 0x499f48
call fcn.0042e5b0
lea esp, [ebp - 0x44bc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov dword [0x4abd60], 0x400
mov esi, dword [ebp + 8]
cmp byte [esi + 1], 3
ja 0x43325a
xor eax, eax
jmp 0x4332d9
mov eax, dword [0x4a9c74]
test eax, eax
je 0x4332c6
mov dl, byte [eax + 0x17]
test dl, dl
jne 0x433272
mov ecx, dword [eax + 0xc]
mov cl, byte [ecx + 0x17]
jmp 0x433274
mov cl, dl
cmp cl, 1
jne 0x4332c6
movzx ecx, byte [esi]
lea ebx, [ecx*8]
sub ebx, ecx
test byte [ebx*2 + 0x4a645e], 0x80
jne 0x4332c6
cmp dword [0x4a9e84], 0
jne 0x4332b7
test dl, dl
jne 0x4332a1
mov ecx, dword [eax + 0xc]
jmp 0x4332a3
mov ecx, eax
test byte [ecx + 0x15], 0xa
jne 0x4332b7
xor edx, edx
cmp dword [ecx + 0xc], edx
setne dl
mov ecx, edx
test ecx, ecx
je 0x4332c6
cmp eax, dword [0x4aa51c]
je 0x4332c6
call fcn.004131d0
jmp 0x4332d9
mov eax, dword [0x4a9ccc]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4332d0
sub eax, edx
inc eax
cmp eax, dword [0x4abd68]
jbe 0x433347
mov dword [0x4abd68], eax
cmp eax, 0x1000
ja 0x4332f8
mov dword [0x4abd68], 0x1000
mov eax, dword [0x4abd64]
test eax, eax
je 0x43330a
push eax
call fcn.004850d8
add esp, 4
mov eax, dword [0x4abd68]
push eax
call fcn.00485279
add esp, 4
mov dword [0x4abd64], eax
test eax, eax
jne 0x43334c
push 0x498831
push eax
push 0x499f48
mov ecx, esi
mov dword [0x4abd68], eax
call fcn.0042e5b0
lea esp, [ebp - 0x44bc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [0x4abd64]
mov ecx, dword [0x4abd58]
mov edx, dword [0x4abd5c]
mov dword [ecx + edx*4], eax
cmp byte [edi], 0
mov esi, dword [0x4abd64]
mov ebx, edi
je 0x4333f8
lea esp, [esp]
mov al, byte [ebx]
cmp al, 0x2c
je 0x43337b
mov byte [esi], al
inc esi
jmp 0x4333ee
cmp byte [ebx + 1], 0x2c
jne 0x433388
mov byte [esi], 0x2c
inc esi
inc ebx
jmp 0x4333ee
mov byte [esi], 0
mov ecx, dword [0x4abd58]
mov eax, dword [0x4abd5c]
mov edx, dword [ecx + eax*4]
cmp byte [edx], 0
je 0x4333b6
inc eax
mov dword [0x4abd5c], eax
inc esi
mov dword [ecx + eax*4], esi
mov byte [esi], 0
mov eax, dword [0x4abd5c]
mov ecx, dword [0x4abd58]
cmp byte [ebx + 1], 0
je 0x4333ee
mov edx, dword [0x4abd60]
cmp eax, edx
jb 0x4333ee
lea eax, [edx*4 + 0x1000]
push eax
push ecx
call fcn.00486667
add esp, 8
test eax, eax
je 0x43321d
add dword [0x4abd60], 0x400
mov dword [0x4abd58], eax
inc ebx
cmp byte [ebx], 0
jne 0x433370
mov byte [esi], 0
mov ecx, dword [0x4abd58]
mov edx, dword [0x4abd5c]
mov eax, dword [ecx + edx*4]
cmp byte [eax], 0
je 0x433415
inc dword [0x4abd5c]
cmp byte [0x4a9e75], 0
je 0x433453
mov ecx, dword [0x4a9d20]
push 0xc
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
test eax, eax
je 0x433438
mov byte [0x4a9e75], 0
push 0x10
call dword [sym.imp.USER32.dll_GetQueueStatus]
shr eax, 0x10
test al, 0x10
je 0x433453
push 1
push 0xffffffffffffffff
call fcn.00401290
add esp, 8
push 0x3fff
lea edx, [ebp - 0x44ab]
push 0
push edx
mov byte [ebp - 0x44ac], 0
call fcn.0048e5e0
or byte [0x4aa62a], 1
add esp, 0xc
cmp dword [0x4a9e50], 0
lea eax, [ebp - 0x44ac]
lea ecx, [ebp - 0x2ac]
lea edx, [ebp - 0x4ac]
mov dword [0x4abd74], eax
mov dword [0x4abd78], 0
mov dword [0x4abd44], ecx
mov dword [0x4abd48], edx
mov dword [0x4abd40], 1
mov byte [0x4a9e70], 1
jne 0x4334cf
mov eax, dword [0x4a7554]
movzx ecx, word [eax]
push ecx
call fcn.00407f00
add esp, 4
mov eax, dword [ebp - 0x1c]
test eax, eax
jle 0x433510
cmp byte [0x4a9e75], 0
jne 0x433510
cmp eax, 0xa
jge 0x4334e9
mov eax, 0xa
mov edx, dword [0x4a9d20]
push 0x4038d0
push eax
push 0xc
push edx
call dword [sym.imp.USER32.dll_SetTimer]
test eax, eax
setne al
mov byte [0x4a9e75], al
jmp 0x433510
push 1
push 0x8000012f
call fcn.00401290
mov eax, dword [0x4abd40]
add esp, 8
cmp eax, 1
je 0x433510
add eax, 0xfffffffe
cmp eax, 3
ja case.default.0x433535
jmp dword [eax*4 + 0x433d64]
mov ecx, dword [0x4aa51c]
push 1
push 0
push 0xffffffffffffffff
push 0x49a574
push ecx
call fcn.00474fa0
jmp 0x43387a
mov edx, dword [0x4aa51c]
push 1
push 0
push 0xffffffffffffffff
push 0x49d6d8
push edx
call fcn.00474fa0
jmp 0x43387a
mov eax, dword [0x49d6e0]
mov ecx, dword [0x49d6e4]
push 0x78
lea edx, [ebp - 0xa4]
push 0
push edx
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xa8], ecx
call fcn.0048e5e0
mov al, byte [0x4abd54]
add esp, 0xc
test al, al
je 0x4335b9
mov byte [ebp - 0xa5], al
mov byte [ebp - 0xa4], 0
jmp 0x4336e2
cmp byte [0x4abd56], 0
je 0x433653
push 0xff
lea eax, [ebp - 0x1ab]
push 0
push eax
mov byte [ebp - 0x1ac], 0
call fcn.0048e5e0
or byte [ebp - 0x19c], 0x80
add esp, 0xc
call dword [sym.imp.USER32.dll_GetForegroundWindow]
test eax, eax
je 0x4335ff
push 0
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
jmp 0x433601
xor eax, eax
push eax
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
xor ecx, ecx
cmp dword [0x4a9eb0], ecx
push eax
setne cl
lea edx, [ebp - 0xa5]
lea eax, [ebp - 0x1ac]
xor bl, bl
push ecx
movzx ecx, byte [0x4abd50]
push edx
push eax
push ecx
call fcn.00412280
movzx edx, ax
movzx eax, byte [0x4abd50]
add esp, 4
push edx
push eax
call dword [sym.imp.USER32.dll_ToAsciiEx]
mov byte [ebp + eax - 0xa5], bl
jmp 0x4336e2
cmp byte [0x4abd55], 0
je 0x4336b2
mov cx, word [0x4abd52]
xor eax, eax
cmp word [eax*8 + 0x4a74ec], cx
je 0x433693
inc eax
cmp eax, 0xd
jl 0x433665
movzx eax, cx
push eax
push 0x49a204
mov esi, 0x79
lea edi, [ebp - 0xa5]
call fcn.00472330
add esp, 8
jmp 0x4336cd
mov ecx, dword [eax*8 + 0x4a74e8]
push 0x78
push ecx
lea edx, [ebp - 0xa5]
push edx
call fcn.00488060
add esp, 0xc
mov byte [ebp - 0x2d], 0
jmp 0x4336cd
mov bl, byte [0x4abd50]
push 1
mov eax, 0x79
lea ecx, [ebp - 0xa5]
call fcn.00411c10
add esp, 4
mov cl, byte [ebp - 0xa5]
sub cl, 0x61
cmp cl, 0x19
ja 0x4336e2
add byte [ebp - 0xa5], 0xe0
mov eax, dword [0x4aa51c]
push 1
push 0
push 0xffffffffffffffff
lea edx, [ebp - 0xac]
push edx
push eax
call fcn.00474fa0
jmp 0x43387a
mov ecx, dword [0x4aa51c]
push 1
push 0
push 0xffffffffffffffff
push 0x49d6e8
push ecx
call fcn.00474fa0
jmp 0x43387a
mov ecx, dword [0x4aa51c]
mov al, byte [ecx + 0x17]
mov dword [ebp - 0x10], ecx
test al, al
jne 0x433744
mov edx, dword [ecx + 0xc]
push 1
push 0
push 0xffffffffffffffff
push 0x49d6ec
push edx
call fcn.00474fa0
jmp 0x43387a
cmp dword [ecx + 8], 0x49d6ec
lea edx, [ecx + 8]
mov dword [ebp - 0x14], edx
jne 0x433758
mov esi, dword [ecx + 0xc]
jmp 0x43375d
mov esi, 8
mov dword [ebp - 0x1c], esi
lea ebx, [esi + 1]
cmp al, 2
jne 0x4337c6
cmp dword [0x4ac3ec], 0
mov ebx, esi
jne 0x43387a
cmp esi, 0xffffffff
jne 0x433782
mov ebx, 8
jmp 0x433786
test esi, esi
je 0x4337b5
lea edi, [ebx + 1]
mov esi, 0x4ac3e0
call fcn.004043b0
test eax, eax
je 0x43387a
mov eax, dword [0x4ac3ec]
push ebx
push 0x49d6ec
push eax
mov esi, eax
call fcn.00488060
add esp, 0xc
mov byte [esi + ebx], 0
push 1
mov ecx, 0x4ac3e0
call fcn.00404420
jmp 0x43387a
cmp ebx, dword [0x4a63ac]
jbe 0x4337ec
cmp ebx, dword [ecx + 0x10]
jbe 0x4337ec
push 0x498831
push 0x49f8d8
mov ecx, 0x4abd80
call fcn.0042e860
jmp 0x43387a
cmp ebx, 2
jae 0x4337fc
push 4
xor al, al
call fcn.00475540
jmp 0x43387a
mov al, byte [ecx + 0x15]
lea edi, [ecx + 0x15]
test al, 2
je 0x433814
mov ecx, dword [ecx]
and al, 0x3d
mov byte [edi], al
mov eax, dword [ecx]
push ecx
mov ecx, dword [eax + 8]
call ecx
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x10]
and byte [edi], 0x82
mov dword [ebp + 8], edx
cmp ebx, edx
jbe 0x433850
mov cl, byte [eax + 0x14]
cmp cl, 1
jbe 0x4338f5
cmp cl, 2
je 0x43392f
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
and byte [edi], 0x7f
mov dword [edx + 0x10], esi
mov esi, dword [ebp - 0x1c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
cmp eax, 0x49d6ec
je 0x43386b
push esi
push 0x49d6ec
push eax
call fcn.00485ca0
add esp, 0xc
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x10]
mov byte [esi + edx], 0
mov dword [eax + 0xc], esi
cmp byte [0x4a9e75], 0
mov edi, dword [ebp - 0xc]
mov dword [0x4abd40], 0
je 0x4338c5
mov ecx, dword [0x4a9d20]
push 0xc
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
test eax, eax
je 0x4338aa
mov byte [0x4a9e75], 0
push 0x10
call dword [sym.imp.USER32.dll_GetQueueStatus]
shr eax, 0x10
test al, 0x10
je 0x4338c5
push 1
push 0xffffffffffffffff
call fcn.00401290
add esp, 8
mov dl, byte [edi + 0x17]
test dl, dl
jne 0x433a3f
mov eax, dword [edi + 0xc]
push 1
push 0
push 0xffffffffffffffff
lea edx, [ebp - 0x44ac]
push edx
push eax
call fcn.00474fa0
lea esp, [ebp - 0x44bc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp ebx, 0x40
ja 0x43392f
cmp ebx, 4
ja 0x433906
mov esi, 4
jmp 0x433914
mov edx, 8
cmp edx, ebx
sbb esi, esi
and esi, 0x38
add esi, edx
mov eax, esi
call fcn.0046f800
test eax, eax
je 0x43387a
mov ecx, dword [ebp - 0x10]
mov byte [ecx + 0x14], 1
jmp 0x43383f
cmp ebx, 0x10
jae 0x43393b
mov esi, 0x10
jmp 0x4339b6
cmp ebx, 0x104
jae 0x43394a
mov esi, 0x104
jmp 0x4339b6
cmp ebx, 0x28000
jae 0x433985
mov dword [ebp + 8], ebx
fild dword [ebp + 8]
test ebx, ebx
jns 0x433962
fadd qword [0x4a08a8]
fmul qword [0x4a08b0]
fnstcw word [ebp + 0xa]
movzx eax, word [ebp + 0xa]
or eax, 0xc00
mov dword [ebp - 0x20], eax
fldcw word [ebp - 0x20]
fistp qword [ebp - 0x24]
mov esi, dword [ebp - 0x24]
fldcw word [ebp + 0xa]
jmp 0x4339b6
cmp ebx, 0x190000
jae 0x433995
lea esi, [ebx + 0x4000]
jmp 0x4339b6
cmp ebx, 0x640000
jae 0x4339b0
mov eax, 0x51eb851f
mul ebx
mov esi, edx
mov edx, dword [ebp + 8]
shr esi, 5
add esi, ebx
jmp 0x4339b6
lea esi, [ebx + 0x10000]
mov eax, dword [0x4a63ac]
cmp esi, eax
jbe 0x4339c1
mov esi, eax
cmp cl, 2
jne 0x4339f7
test edx, edx
je 0x4339f7
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
push eax
mov bl, 1
call fcn.004850d8
add esp, 4
test esi, esi
js 0x4339fb
push esi
call fcn.00485279
add esp, 4
test eax, eax
je 0x4339fb
mov ecx, dword [ebp - 0x10]
mov byte [ecx + 0x14], 2
jmp 0x43383f
xor bl, bl
jmp 0x4339da
test bl, bl
je 0x433a14
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov dword [edx + 0x10], 0
mov dword [eax], 0x4ab626
jmp 0x433a1c
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov byte [edx], 0
mov eax, dword [ebp - 0x10]
push 0x498831
push 0x499f48
mov ecx, 0x4abd80
mov dword [eax + 0xc], 0
call fcn.0042e860
jmp 0x43387a
lea ecx, [ebp - 0x44ac]
cmp dword [edi + 8], ecx
jne 0x433a52
mov esi, dword [edi + 0xc]
mov dword [ebp - 0x1c], esi
jmp 0x433a6e
lea eax, [ebp - 0x44ac]
lea esi, [eax + 1]
jmp 0x433a60
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x433a60
sub eax, esi
mov esi, eax
mov dword [ebp - 0x1c], eax
lea ebx, [esi + 1]
cmp dl, 2
jne 0x433aee
cmp dword [0x4ac3ec], 0
mov ebx, esi
jne 0x433be7
cmp esi, 0xffffffff
jne 0x433a9e
lea eax, [ebp - 0x44ac]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x433a93
sub eax, edx
mov ebx, eax
test ebx, ebx
je 0x433ad3
lea edi, [ebx + 1]
mov esi, 0x4ac3e0
call fcn.004043b0
test eax, eax
je 0x433be7
mov eax, dword [0x4ac3ec]
push ebx
lea edx, [ebp - 0x44ac]
push edx
push eax
mov esi, eax
call fcn.00488060
add esp, 0xc
mov byte [esi + ebx], 0
push 1
mov ecx, 0x4ac3e0
call fcn.00404420
lea esp, [ebp - 0x44bc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp ebx, dword [0x4a63ac]
jbe 0x433b1e
cmp ebx, dword [edi + 0x10]
jbe 0x433b1e
push 0x498831
push 0x49f8d8
mov ecx, 0x4abd80
call fcn.0042e860
lea esp, [ebp - 0x44bc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp ebx, 2
jae 0x433b42
push 4
xor al, al
mov ecx, edi
call fcn.00475540
mov eax, 1
lea esp, [ebp - 0x44bc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov al, byte [edi + 0x15]
test al, 2
je 0x433b58
and al, 0x3d
mov byte [edi + 0x15], al
mov eax, dword [edi]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
and byte [edi + 0x15], 0x82
cmp ebx, dword [edi + 0x10]
jbe 0x433b85
mov cl, byte [edi + 0x14]
cmp cl, 1
jbe 0x433bbd
cmp cl, 2
je 0x433c01
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 8]
and byte [edi + 0x15], 0x7f
mov dword [edi + 0x10], esi
mov esi, dword [ebp - 0x1c]
mov dword [edi + 8], eax
mov eax, dword [edi + 8]
lea ecx, [ebp - 0x44ac]
cmp eax, ecx
je 0x433b9f
push esi
mov edx, ecx
push edx
push eax
call fcn.00485ca0
add esp, 0xc
mov eax, dword [edi + 8]
mov byte [esi + eax], 0
mov dword [edi + 0xc], esi
mov eax, 1
lea esp, [ebp - 0x44bc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp ebx, 0x40
ja 0x433c01
cmp ebx, 4
ja 0x433bce
mov esi, 4
jmp 0x433bdc
mov eax, 8
cmp eax, ebx
sbb esi, esi
and esi, 0x38
add esi, eax
mov eax, esi
call fcn.0046f800
test eax, eax
jne 0x433bf8
xor eax, eax
lea esp, [ebp - 0x44bc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov byte [edi + 0x14], 1
jmp 0x433b78
cmp ebx, 0x10
jae 0x433c0d
mov esi, 0x10
jmp 0x433c85
cmp ebx, 0x104
jae 0x433c1c
mov esi, 0x104
jmp 0x433c85
cmp ebx, 0x28000
jae 0x433c57
mov dword [ebp + 8], ebx
fild dword [ebp + 8]
test ebx, ebx
jns 0x433c34
fadd qword [0x4a08a8]
fmul qword [0x4a08b0]
fnstcw word [ebp + 0xa]
movzx eax, word [ebp + 0xa]
or eax, 0xc00
mov dword [ebp - 0x20], eax
fldcw word [ebp - 0x20]
fistp qword [ebp - 0x24]
mov esi, dword [ebp - 0x24]
fldcw word [ebp + 0xa]
jmp 0x433c85
cmp ebx, 0x190000
jae 0x433c67
lea esi, [ebx + 0x4000]
jmp 0x433c85
cmp ebx, 0x640000
jae 0x433c7f
mov eax, 0x51eb851f
mul ebx
mov esi, edx
shr esi, 5
add esi, ebx
jmp 0x433c85
lea esi, [ebx + 0x10000]
mov eax, dword [0x4a63ac]
cmp esi, eax
jbe 0x433c90
mov esi, eax
cmp cl, 2
jne 0x433cc3
cmp dword [edi + 0x10], 0
je 0x433cc3
mov ecx, dword [edi + 8]
push ecx
mov bl, 1
call fcn.004850d8
add esp, 4
test esi, esi
js 0x433cc7
push esi
call fcn.00485279
add esp, 4
test eax, eax
je 0x433cc7
mov byte [edi + 0x14], 2
jmp 0x433b78
xor bl, bl
jmp 0x433ca9
test bl, bl
je 0x433cdb
mov dword [edi + 0x10], 0
mov dword [edi + 8], 0x4ab626
jmp 0x433ce1
mov edx, dword [edi + 8]
mov byte [edx], 0
push 0x498831
push 0x499f48
mov ecx, 0x4abd80
mov dword [edi + 0xc], 0
call fcn.0042e860
lea esp, [ebp - 0x44bc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4