Function at 0x51e1909f
Capabilities:
Check for time delay via gettickcount
Identify system language via api

Disassembly:
test bl, 8
jne 0x51e2caf6
jmp 0x51e193a5
test bl, 8
jne 0x51e2cacb
jmp 0x51e193a5
push ebp
mov eax, 0x1054
lea ebp, [esp - 0xfd8]
call fcn.51e038cf
mov eax, dword [0x51e8c240]
or dword [ebp - 0x5c], 0xffffffff
push ebx
push esi
mov dword [ebp + 0xfd4], eax
mov eax, dword [ebp + 0xfe4]
push edi
xor edi, edi
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x38], edi
call fcn.51e18b0a
mov esi, dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov ebx, eax
mov eax, dword [ebp + 0xfe0]
sub eax, 0x100
jne 0x51e191cb
test bl, 0x20
jne 0x51e193a5
mov edx, dword [ebp - 0x34]
movzx eax, dx
sub eax, 0x2d
je 0x51e2cedb
dec eax
je 0x51e2ca3e
sub eax, 0x15
je 0x51e0580b
sub eax, 0x13
je 0x51e0786b
dec eax
dec eax
je 0x51e2ca26
dec eax
dec eax
je 0x51e2ca15
sub eax, 0x1d
je 0x51e2c9c2
test bl, 8
jne 0x51e19193
push edx
call dword [0x51e8b56c]
test eax, eax
jne 0x51e193a5
mov edx, dword [ebp - 0x34]
cmp dx, 0xe50
jae 0x51e2c823
cmp dx, 0xe01
jae 0x51e2c833
cmp dx, 0xe32
jae 0x51e2c843
cmp dx, 0xe3f
jae 0x51e2c853
cmp dx, 0xe4f
je 0x51e193a5
mov eax, dword [0x51e8b69c]
movzx ecx, dx
cmp ecx, dword [eax + 0x6c]
je 0x51e2c863
cmp ecx, dword [eax + 0x74]
je 0x51e2c872
cmp word [eax + 0x537c], di
jne 0x51e2c962
push ebx
push ecx
call fcn.51e1940e
pop ecx
pop ecx
mov dword [ebp - 0x44], eax
jmp 0x51e193a5
dec eax
dec eax
jne 0x51e2c1b2
cmp dword [0x51e8bab8], edi
mov ebx, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
je 0x51e2c2ab
cmp word [ebp - 0x34], 0x7f
ja 0x51e2c433
movzx eax, word [ebp - 0x34]
sub eax, 8
je 0x51e2c5a7
dec eax
dec eax
je 0x51e2c570
sub eax, 3
je 0x51e2c570
sub eax, 0x72
je 0x51e2c5a7
cmp word [ebp - 0x34], 0x20
jb 0x51e193a5
push 1
call fcn.51e12027
test eax, eax
pop ecx
je 0x51e193a5
mov eax, dword [0x51e8c348]
xor ecx, ecx
inc ecx
mov dword [eax + 0x54], ecx
mov dword [ebp - 0x40], ecx
mov ecx, dword [ebp - 0x34]
mov word [ebp - 0x30], cx
cmp dword [eax + 0x15c], edi
jne 0x51e2c514
movzx ecx, byte [eax + 0x119]
mov dword [ebp - 0x48], ecx
mov eax, dword [eax + 0x58]
push 1
mov dword [ebp - 0x3c], eax
call fcn.51e11c55
mov dword [ebp - 0x38], eax
mov eax, dword [0x51e8c348]
mov edi, 0x2000
test dword [eax + 8], edi
pop ecx
mov ecx, dword [ebp - 0x40]
jne 0x51e2c8c9
cmp dword [eax + 0x15c], 0
jne 0x51e2c8eb
xor edi, edi
push 1
push dword [ebp - 0x38]
lea eax, [ebp - 0x30]
push dword [ebp - 0x40]
push eax
call fcn.51e1205d
add esp, 0x10
test eax, eax
je 0x51e19390
mov eax, dword [ebp + 0xfe0]
mov dword [ebp - 0x78], eax
movzx eax, word [ebp - 0x34]
mov dword [ebp - 0x74], eax
mov eax, dword [0x51e8b69c]
cmp eax, edi
je 0x51e2cbf7
xor ecx, ecx
cmp dword [eax + 0x53a8], 0x411
sete cl
mov eax, ecx
cmp eax, edi
jne 0x51e2cc08
push edi
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x3c]
call fcn.51e12135
add esp, 0x14
test eax, eax
je 0x51e193a5
cmp word [ebp - 0x34], 8
je 0x51e2cc52
xor eax, eax
inc eax
mov edx, dword [0x51e8c348]
shl eax, 4
xor eax, dword [edx + 8]
and eax, 0x10
xor dword [edx + 8], eax
mov eax, dword [0x51e8b69c]
cmp eax, edi
mov dword [edx + 0x94], 0x30000f
je 0x51e2cc62
cmp dword [eax + 0x53bc], edi
jne 0x51e2cc9e
test byte [eax + 0x53b6], 0x3c
jne 0x51e2cc9e
cmp eax, edi
je 0x51e2cccc
cmp dword [eax + 0x53bc], edi
jne 0x51e2ccfb
test byte [eax + 0x53b6], 0x3c
jne 0x51e2ccfb
push dword [ebp - 0x38]
push dword [ebp - 0x40]
push dword [ebp - 0x3c]
call fcn.51e11cf2
add esp, 0xc
cmp dword [ebp - 0x48], edi
jne 0x51e2cd8a
mov eax, dword [0x51e8c348]
or dword [eax + 0x48], 0xffffffff
call fcn.51e181ce
mov dword [ebp - 0x44], 1
mov eax, dword [ebp - 0x44]
lea esp, [ebp - 0x88]
mov ecx, dword [ebp + 0xfd4]
call fcn.51e03d50
pop edi
pop esi
pop ebx
add ebp, 0xfd8
leave
ret
sub eax, 4
je 0x51e2c294
sub eax, 9
jne 0x51e193a5
push 1
call fcn.51e11c55
mov dword [ebp - 0x38], eax
mov eax, dword [0x51e8a120]
cmp eax, edi
pop ecx
je 0x51e193a5
mov eax, dword [eax + 0x34]
cmp eax, edi
je 0x51e193a5
lea ecx, [ebp - 0x64]
push ecx
lea ecx, [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x30]
push ecx
push dword [ebp + 0xfe8]
push dword [ebp + 0xfe4]
push 0x10f
call eax
test eax, eax
je 0x51e193a5
mov eax, dword [0x51e8b69c]
cmp eax, edi
jne 0x51e2c253
call esi
cmp ax, 0x411
je 0x51e2c264
call esi
cmp ax, 0x404
je 0x51e2c264
call esi
cmp ax, 0x412
je 0x51e2c264
call esi
cmp ax, 0x804
je 0x51e2c264
mov eax, dword [0x51e8c348]
movzx eax, byte [eax + 0x119]
mov dword [ebp - 0x48], eax
jmp 0x51e19293
cmp dword [eax + 0x53bc], edi
jne 0x51e2c264
test byte [eax + 0x53b6], 0x3c
je 0x51e2c23f
mov eax, dword [0x51e8c348]
cmp byte [eax + 0x119], 0
je 0x51e2c28c
mov eax, dword [eax + 0x11c]
test al, 1
je 0x51e2c280
test al, 0x40
je 0x51e2c28c
mov dword [ebp - 0x48], 1
jmp 0x51e19293
mov dword [ebp - 0x48], edi
jmp 0x51e19293
cmp word [ebp - 0x34], 8
jne 0x51e193a5
push edi
push edi
push 0x304
jmp 0x51e2cadb
mov eax, dword [0x51e8b69c]
cmp eax, edi
jne 0x51e2c2f3
call esi
cmp ax, 0x411
je 0x51e2c2d4
call esi
cmp ax, 0x404
je 0x51e2c2d4
call esi
cmp ax, 0x412
je 0x51e2c2d4
call esi
cmp ax, 0x804
jne 0x51e2c2fd
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
sub eax, 0xc8
cmp eax, dword [0x51eb7910]
jb 0x51e2c338
xor ecx, ecx
mov dword [0x51eb790c], ecx
jmp 0x51e2c33e
cmp dword [eax + 0x53b8], edi
jne 0x51e2c2d4
jmp 0x51e2c302
mov eax, dword [0x51e8b69c]
movzx eax, word [eax + 0x53ac]
push 1
lea ecx, [ebp - 0x34]
push ecx
push 1
lea ecx, [ebp + 0xfe4]
push ecx
push edi
push eax
call fcn.51e6d0e6
push eax
call ebx
test eax, eax
jne 0x51e2c424
mov eax, dword [ebp + 0xfe4]
mov dword [ebp - 0x34], eax
jmp 0x51e191e5
mov ecx, dword [0x51eb790c]
mov eax, dword [0x51e8b69c]
cmp dword [eax + 0x53bc], 0
mov edx, dword [ebp - 0x34]
je 0x51e2c386
movzx esi, dl
cmp byte [esi + eax + 0x53c0], 0
je 0x51e2c380
test ecx, ecx
jne 0x51e2c3ab
movzx eax, dx
mov dword [0x51eb790c], eax
call edi
and dword [ebp - 0x34], 0
mov esi, dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov dword [0x51eb7910], eax
xor edi, edi
jmp 0x51e191f0
mov esi, dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
test ecx, ecx
jne 0x51e2c3b1
cmp dword [ebp + 0xfe4], 0x80
jne 0x51e2c3fc
mov eax, 0x20ac
mov dword [ebp + 0xfe4], eax
mov dword [ebp - 0x34], eax
xor edi, edi
jmp 0x51e2c433
mov esi, dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
push 1
mov byte [ebp - 0x4c], cl
lea ecx, [ebp - 0x34]
push ecx
push 2
lea ecx, [ebp - 0x4c]
mov byte [ebp - 0x4b], dl
movzx eax, word [eax + 0x53ac]
push ecx
push 0
push eax
call fcn.51e6d0e6
push eax
call ebx
test eax, eax
jne 0x51e2c3e4
mov eax, dword [ebp + 0xfe4]
mov dword [ebp - 0x34], eax
jmp 0x51e2c3ee
movzx eax, word [ebp - 0x34]
mov dword [ebp + 0xfe4], eax
and dword [0x51eb790c], 0
xor edi, edi
jmp 0x51e191e5
movzx eax, word [eax + 0x53ac]
push 1
lea ecx, [ebp - 0x34]
push ecx
push 1
lea ecx, [ebp + 0xfe4]
push ecx
push 0
push eax
call fcn.51e6d0e6
push eax
call ebx
xor edi, edi
jmp 0x51e2c322
movzx eax, word [ebp - 0x34]
mov dword [ebp + 0xfe4], eax
jmp 0x51e191e5
push edi
push edi
push edi
push 1
lea eax, [ebp - 0x34]
push eax
mov eax, dword [0x51e8c348]
push dword [eax + 4]
call fcn.51e11519
test eax, eax
je 0x51e191f0
call fcn.51e577dd
cmp word [ebp - 0x34], 0xe50
jb 0x51e2c46d
cmp word [ebp - 0x34], 0xe59
ja 0x51e2c46d
add dword [ebp - 0x34], 0xf1e0
mov ecx, dword [0x51e8c348]
mov dword [ecx + 0x15c], 1
cmp byte [ecx + 0x13c], 0
mov dword [0x51eb71a4], edi
je 0x51e191f0
cmp ax, 3
je 0x51e2c4ac
cmp ax, 0xf
je 0x51e2c4ac
cmp ax, 0x2b
je 0x51e2c4ac
cmp ax, 0x22
jne 0x51e191f0
movzx eax, word [ebp - 0x34]
push 0x28
pop ecx
sub eax, ecx
je 0x51e2c508
dec eax
je 0x51e2c500
sub eax, 0x32
je 0x51e2c4f4
dec eax
dec eax
je 0x51e2c4e8
sub eax, 0x1e
je 0x51e2c4dc
dec eax
dec eax
jne 0x51e191f0
mov dword [ebp - 0x34], 0x7b
jmp 0x51e191f0
mov dword [ebp - 0x34], 0x7d
jmp 0x51e191f0
mov dword [ebp - 0x34], 0x5b
jmp 0x51e191f0
mov dword [ebp - 0x34], 0x5d
jmp 0x51e191f0
mov dword [ebp - 0x34], ecx
jmp 0x51e191f0
mov dword [ebp - 0x34], 0x29
jmp 0x51e191f0
cmp cx, 0x100
jae 0x51e19253
mov ecx, dword [0x51e8b69c]
test byte [ecx + 0x54c5], 4
je 0x51e19253
call fcn.51e577dd
cmp ax, 3
je 0x51e2c54f
cmp ax, 0xf
je 0x51e2c54f
cmp ax, 0x2b
je 0x51e2c54f
cmp ax, 0x22
jne 0x51e2c566
mov al, byte [ebp - 0x34]
push 1
mov byte [ebp - 0x4b], al
lea eax, [ebp - 0x30]
push eax
push 1
lea eax, [ebp - 0x4b]
push eax
push 1
push edi
call ebx
mov eax, dword [0x51e8c348]
jmp 0x51e19253
push 1
call fcn.51e12027
test eax, eax
pop ecx
je 0x51e193a5
mov eax, dword [0x51e8c348]
mov dword [ebp - 0x40], 2
mov word [ebp - 0x30], 0xd
mov word [ebp - 0x2e], 0xa
mov dword [eax + 0x54], edi
mov dword [ebp - 0x50], 1
jmp 0x51e19253
mov eax, dword [0x51e8c348]
cmp dword [eax + 0x15c], edi
je 0x51e2c5cd
cmp dword [0x51e8c26c], edi
mov dword [0x51eb7908], 1
je 0x51e2c5cd
mov byte [eax + 0x152], 0x63
call fcn.51e16d81
test eax, eax
je 0x51e1939e
mov ecx, dword [0x51e8c348]
xor eax, eax
inc eax
push eax
mov dword [ecx + 0x54], eax
call fcn.51e12027
test eax, eax
pop ecx
je 0x51e193a5
mov eax, dword [0x51e8c348]
xor ebx, ebx
inc ebx
cmp dword [eax + 0x15c], edi
push ebx
je 0x51e2c73b
mov dword [0x51eb71a4], edi
call fcn.51e11c55
test eax, eax
pop ecx
mov edi, 0x2000
jbe 0x51e2c650
mov eax, dword [0x51e8c348]
test dword [eax + 8], edi
jne 0x51e2c637
mov eax, dword [0x51e8b69c]
cmp byte [eax + 0xa4], 0
je 0x51e2c642
push ebx
call fcn.51e11c55
cmp eax, ebx
pop ecx
je 0x51e2c650
mov eax, dword [0x51e8c348]
cmp dword [eax + 0x15c], 0
je 0x51e2c6a1
push ebx
call fcn.51e11c55
test eax, eax
mov eax, dword [0x51e8c348]
pop ecx
ja 0x51e2c67f
cmp dword [eax + 0x140], 0xffffffff
je 0x51e2c7ac
mov ecx, dword [eax + 0x144]
cmp ecx, dword [eax + 0x148]
je 0x51e2c7ac
test dword [eax + 8], edi
jne 0x51e2c692
mov eax, dword [0x51e8b69c]
cmp byte [eax + 0xa4], 0
je 0x51e2c6a1
push ebx
call fcn.51e11c55
cmp eax, ebx
pop ecx
je 0x51e2c7ac
push ebx
call fcn.51e11c55
test eax, eax
pop ecx
jbe 0x51e2c7ac
mov eax, dword [0x51e8c348]
test dword [eax + 8], edi
mov eax, dword [0x51e8b69c]
jne 0x51e2c6c8
cmp byte [eax + 0xa4], 0
je 0x51e2c714
test eax, eax
jne 0x51e2c6ee
call esi
cmp ax, 0x411
je 0x51e2c6f7
call esi
cmp ax, 0x404
je 0x51e2c6f7
call esi
cmp ax, 0x412
je 0x51e2c6f7
call esi
cmp ax, 0x804
jne 0x51e2c705
jmp 0x51e2c6f7
cmp dword [eax + 0x53b8], 0
je 0x51e2c705
mov eax, dword [0x51e8c348]
test byte [eax + 0x11c], 0x10
jne 0x51e2c714
push ebx
call fcn.51e11c55
cmp eax, ebx
pop ecx
je 0x51e2c7ac
push 0
push 0
mov eax, dword [0x51e8c348]
push 0x303
push dword [eax]
call dword [0x51e8bba0]
mov eax, dword [0x51e8c348]
and dword [eax + 8], 0xffffffef
mov dword [ebp - 0x44], ebx
jmp 0x51e193a5
call fcn.51e11c55
test eax, eax
pop ecx
jbe 0x51e2c7ac
mov eax, dword [0x51e8c348]
test byte [eax + 9], 0x20
mov eax, dword [0x51e8b69c]
jne 0x51e2c75e
cmp byte [eax + 0xa4], 0
je 0x51e2c7a5
cmp eax, edi
jne 0x51e2c784
call esi
cmp ax, 0x411
je 0x51e2c78c
call esi
cmp ax, 0x404
je 0x51e2c78c
call esi
cmp ax, 0x412
je 0x51e2c78c
call esi
cmp ax, 0x804
jne 0x51e2c79a
jmp 0x51e2c78c
cmp dword [eax + 0x53b8], edi
je 0x51e2c79a
mov eax, dword [0x51e8c348]
test byte [eax + 0x11c], 0x10
jne 0x51e2c7a5
push ebx
call fcn.51e11c55
cmp eax, ebx
pop ecx
je 0x51e2c7ac
push edi
push edi
jmp 0x51e2c718
call fcn.51e16841
cmp word [ebp - 0x34], 8
mov edi, eax
push edi
je 0x51e2c7c2
call fcn.51e665ff
jmp 0x51e2c7c7
call fcn.51e13230
mov dword [ebp - 0x3c], eax
mov eax, dword [0x51e8c348]
xor ebx, ebx
cmp dword [eax + 0x15c], ebx
pop ecx
je 0x51e2c7e0
mov dword [0x51eb7908], ebx
cmp word [ebp - 0x34], 8
jne 0x51e2c800
mov ecx, dword [eax + 0x114]
cmp ecx, ebx
je 0x51e2c800
push ebx
push dword [ebp - 0x3c]
push edi
push dword [eax]
call ecx
add esp, 0x10
mov dword [ebp - 0x3c], eax
push dword [ebp - 0x3c]
push ebx
call fcn.51e0e265
cmp dword [ebp - 0x3c], eax
pop ecx
pop ecx
je 0x51e2c818
mov eax, dword [0x51e8c348]
mov dword [eax + 0x54], ebx
sub edi, dword [ebp - 0x3c]
mov dword [ebp - 0x38], edi
jmp 0x51e19291
cmp dx, 0xe59
jbe 0x51e193a5
jmp 0x51e19167
cmp dx, 0xe30
jbe 0x51e193a5
jmp 0x51e19172
cmp dx, 0xe33
jbe 0x51e193a5
jmp 0x51e1917d
cmp dx, 0xe46
jbe 0x51e193a5
jmp 0x51e19188
mov esi, dword [eax + 0x70]
or esi, 8
cmp ebx, esi
je 0x51e2c880
jmp 0x51e191a4
mov esi, dword [eax + 0x78]
or esi, 8
cmp ebx, esi
jne 0x51e191ad
push 1
call fcn.51e12027
test eax, eax
pop ecx
je 0x51e193a5
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
push 0x800
lea eax, [ebp - 0x30]
push eax
push edi
lea eax, [ebp - 0x74]
push eax
push 1
call fcn.51df3f3b
push eax
call fcn.51e6f2e1
mov esi, dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
dec eax
mov dword [ebp - 0x40], eax
mov eax, dword [0x51e8c348]
jmp 0x51e1925d
cmp dword [ebp - 0x38], ecx
jae 0x51e19284
test ecx, ecx
jbe 0x51e19284
cmp ecx, dword [ebp - 0x38]
jbe 0x51e19284
mov dword [ebp - 0x38], ecx
jmp 0x51e19284
test dword [eax + 8], edi
mov ecx, dword [0x51e8b69c]
jne 0x51e2c903
cmp byte [ecx + 0xa4], 0
je 0x51e19291
test ecx, ecx
jne 0x51e2c957
call esi
cmp ax, 0x411
je 0x51e2c927
call esi
cmp ax, 0x404
je 0x51e2c927
call esi
cmp ax, 0x412
je 0x51e2c927
call esi
cmp ax, 0x804
jne 0x51e2c939
mov eax, dword [0x51e8c348]
test byte [eax + 0x11c], 0x10
jne 0x51e19291
cmp dword [ebp - 0x38], 1
jne 0x51e19291
push dword [ebp - 0x3c]
call fcn.51e66695
sub eax, dword [ebp - 0x3c]
pop ecx
mov dword [ebp - 0x38], eax
jmp 0x51e19291
cmp dword [ecx + 0x53b8], 0
je 0x51e2c939
jmp 0x51e2c92c
cmp dx, 0x10
jne 0x51e191ba
cmp ebx, 0xc
jne 0x51e191ba
mov eax, dword [0x51e8c348]
cmp byte [eax + 0x13c], 0
jne 0x51e191ba
test byte [eax + 8], 0x40
jne 0x51e191ba
cmp byte [ebp + 0xfea], 0x36
push 1
sete cl
push edi
mov byte [eax + 0x135], cl
push dword [eax]
call dword [sym.imp.USER32.dll_InvalidateRect]
call fcn.51e671c5
mov eax, dword [0x51e8c348]
or byte [eax + 9], 1
mov dword [ebp - 0x44], edi
jmp 0x51e193a5
push 0x807
call fcn.51e168d4
mov eax, dword [0x51e8b69c]
test byte [eax + 0x7d], 0x80
pop ecx
je 0x51e2c9e5
mov eax, dword [0x51e8c348]
mov ecx, dword [eax + 0x58]
mov dword [eax + 0x64], ecx
jmp 0x51e2ca05
test bl, 4
je 0x51e2c9f1
call fcn.51e676db
jmp 0x51e2ca05
call fcn.51e675e1
test eax, eax
je 0x51e2ca05
push 0x804
call fcn.51e168d4
pop ecx
push 0x805
call fcn.51e168d4
pop ecx
jmp 0x51e1939e
test bl, 8
je 0x51e193a5
test bl, 4
jmp 0x51e2c299
test bl, 8
je 0x51e193a5
test bl, 4
jne 0x51e193a5
and ebx, 0xfffffff7
or ebx, 4
mov eax, dword [0x51e8c348]
xor esi, esi
inc esi
cmp dword [eax + 0x15c], edi
je 0x51e2ca54
mov dword [0x51eb71a4], esi
call fcn.51e16d81
test eax, eax
je 0x51e2cffe
push esi
call fcn.51e12027
test eax, eax
pop ecx
je 0x51e193a5
mov eax, dword [0x51e8c348]
mov ecx, dword [eax + 0x5c]
sub ecx, dword [eax + 0x58]
mov edi, dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
je 0x51e2cb60
test byte [eax + 9], 0x20
mov ecx, dword [0x51e8b69c]
jne 0x51e2caa0
cmp byte [ecx + 0xa4], 0
je 0x51e2cb3a
test ecx, ecx
jne 0x51e2cb17
call edi
cmp ax, 0x411
je 0x51e2cb22
call edi
cmp ax, 0x404
je 0x51e2cb22
call edi
cmp ax, 0x412
je 0x51e2cb22
call edi
cmp ax, 0x804
mov eax, dword [0x51e8c348]
jne 0x51e2cb30
jmp 0x51e2cb27
test bl, 4
jne 0x51e193a5
push edi
push edi
push 0x302
mov eax, dword [0x51e8c348]
push dword [eax]
call dword [0x51e8bba0]
mov eax, dword [0x51e8c348]
and dword [eax + 8], 0xffffffef
jmp 0x51e1939e
test bl, 4
jne 0x51e193a5
mov eax, dword [0x51e8c348]
mov ecx, dword [eax + 0x58]
cmp ecx, dword [eax + 0x5c]
je 0x51e2caed
push edi
push edi
push 0x301
push dword [eax]
jmp 0x51e2cae2
cmp dword [ecx + 0x53b8], 0
je 0x51e2cb30
jmp 0x51e2cb27
mov eax, dword [0x51e8c348]
test byte [eax + 0x11c], 0x10
jne 0x51e2cb3a
mov ecx, dword [eax + 0x5c]
sub ecx, dword [eax + 0x58]
cmp ecx, esi
je 0x51e2cb60
and dword [eax + 8], 0xffffffef
and bl, 4
neg bl
push 0
push 0
sbb ebx, ebx
and ebx, 0xfffffffd
add ebx, 0x303
push ebx
push dword [eax]
call dword [0x51e8bba0]
jmp 0x51e2cffe
call fcn.51e16841
push eax
call fcn.51e66495
test bl, 8
pop ecx
mov dword [ebp - 0x3c], eax
je 0x51e2cbba
mov ecx, dword [0x51e8c348]
push 0
push dword [ecx + 0x54]
push eax
call fcn.51e0e490
push 0
mov esi, eax
push 1
push esi
call fcn.51e0e477
mov edi, eax
add esp, 0x18
cmp esi, edi
jne 0x51e2cba2
mov eax, dword [0x51e8c348]
mov edi, dword [eax + 0x28]
push edi
push 0
call fcn.51e0e265
cmp eax, dword [ebp - 0x3c]
pop ecx
pop ecx
jb 0x51e2cbb3
mov edi, eax
sub edi, dword [ebp - 0x3c]
mov eax, edi
jmp 0x51e2cbc4
push eax
call fcn.51e66695
sub eax, dword [ebp - 0x3c]
pop ecx
test bl, 4
mov dword [ebp - 0x38], eax
je 0x51e2cbd7
push 0
call fcn.51e65ced
mov eax, dword [ebp - 0x38]
pop ecx
mov ecx, dword [ebp - 0x3c]
mov esi, dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
add ecx, eax
mov eax, dword [0x51e8c348]
sub ecx, dword [eax + 0x28]
neg ecx
sbb ecx, ecx
inc ecx
mov dword [eax + 0x54], ecx
jmp 0x51e19291
call esi
sub ax, 0x411
neg ax
sbb eax, eax
inc eax
jmp 0x51e192dd
lea eax, [ebp - 0x7c]
push eax
call fcn.51e651c8
test eax, eax
je 0x51e192e5
mov eax, dword [0x51e8c348]
test byte [eax + 0x11c], 1
jne 0x51e192e5
call fcn.51e16d81
push eax
mov eax, dword [0x51e8c344]
push dword [eax]
call fcn.51e1637c
pop ecx
push eax
push dword [ebp - 0x38]
push dword [ebp - 0x40]
push dword [ebp - 0x3c]
call fcn.51e65491
jmp 0x51e192e5
cmp dword [ebp - 0x3c], edi
jne 0x51e19310
xor eax, eax
jmp 0x51e19313
call esi
cmp ax, 0x411
je 0x51e2cc93
call esi
cmp ax, 0x404
je 0x51e2cc93
call esi
cmp ax, 0x412
je 0x51e2cc93
call esi
mov edx, dword [0x51e8c348]
cmp ax, 0x804
mov eax, dword [0x51e8b69c]
jne 0x51e19355
jmp 0x51e2cc9e
mov edx, dword [0x51e8c348]
mov eax, dword [0x51e8b69c]
cmp dword [ebp - 0x5c], 0xffffffff
je 0x51e19355
mov ecx, dword [ebp - 0x58]
cmp ecx, dword [edx + 0x28]
jae 0x51e19355
push 5
lea edi, [edx + 0x50]
pop ecx
lea esi, [ebp - 0x64]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
xor edi, edi
jmp 0x51e19355
call esi
cmp ax, 0x411
je 0x51e2ccf0
call esi
cmp ax, 0x404
je 0x51e2ccf0
call esi
cmp ax, 0x412
je 0x51e2ccf0
call esi
cmp ax, 0x804
jne 0x51e19376
mov edx, dword [0x51e8c348]
mov eax, dword [0x51e8b69c]
cmp word [ebp - 0x34], 8
jne 0x51e19376
test byte [edx + 0x11c], 1
je 0x51e19376
cmp eax, edi
jne 0x51e2cd2b
call esi
mov edx, dword [0x51e8c348]
sub ax, 0x411
neg ax
sbb eax, eax
inc eax
jmp 0x51e2cd3c
xor ecx, ecx
cmp dword [eax + 0x53ac], 0x411
sete cl
mov eax, ecx
cmp eax, edi
je 0x51e19376
lea eax, [edx + 0x120]
cmp dword [eax], edi
jbe 0x51e2cd62
mov ecx, dword [ebp - 0x40]
sub ecx, dword [ebp - 0x38]
add dword [eax], ecx
mov eax, dword [ebp - 0x40]
sub eax, dword [ebp - 0x38]
add dword [edx + 0x124], eax
lea eax, [edx + 0x128]
cmp dword [eax], 0xffffffff
je 0x51e19376
mov ecx, dword [ebp - 0x40]
sub ecx, dword [ebp - 0x38]
add dword [eax], ecx
mov eax, dword [ebp - 0x40]
sub eax, dword [ebp - 0x38]
add dword [edx + 0x12c], eax
jmp 0x51e19376
mov eax, dword [0x51e8c344]
push dword [eax]
call fcn.51e1637c
cmp dword [ebp - 0x50], edi
pop ecx
mov esi, eax
je 0x51e2cda5
mov dword [ebp - 0x40], 1
mov ebx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x40]
add eax, ebx
lea edi, [eax + eax]
lea eax, [edi + 2]
add eax, 3
and eax, 0xfffffffc
call fcn.51e038cf
mov eax, dword [0x51e8b69c]
and dword [ebp - 0x48], 0
test eax, eax
mov dword [ebp - 0x50], esp
jne 0x51e2ce07
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
cmp ax, 0x411
je 0x51e2ce02
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
cmp ax, 0x404
je 0x51e2ce02
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
cmp ax, 0x412
je 0x51e2ce02
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
cmp ax, 0x804
je 0x51e2ce02
xor eax, eax
jmp 0x51e2ce0d
xor eax, eax
inc eax
jmp 0x51e2ce0d
mov eax, dword [eax + 0x53b8]
mov ecx, edi
mov edi, dword [ebp - 0x50]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
test eax, eax
rep movsb byte es:[edi], byte [esi]
je 0x51e2ceb0
add ebx, dword [ebp - 0x40]
cmp dword [ebp + 0xfe0], 0x10f
jne 0x51e2ce6e
mov eax, dword [0x51e8c348]
test byte [eax + 0x11c], 0x40
je 0x51e2ce6e
mov eax, dword [0x51e8a120]
test eax, eax
je 0x51e2ce6e
mov eax, dword [eax + 0xbc]
test eax, eax
je 0x51e2ce6e
call eax
test eax, eax
je 0x51e2ce6e
mov eax, dword [ebp - 0x50]
mov word [eax + ebx*2], 0x20
mov dword [ebp - 0x48], 1
mov eax, dword [ebp - 0x48]
add eax, ebx
cmp eax, 0x100
mov dword [ebp + 0xfe0], eax
jge 0x51e2ce87
mov ecx, 0x134
jmp 0x51e2ce9d
fild dword [ebp + 0xfe0]
fmul qword [0x51e2d008]
call fcn.51e1b3a4
xor ecx, ecx
inc ecx
sub ecx, eax
lea eax, [ecx + ecx]
add eax, 3
and eax, 0xfffffffc
call fcn.51e038cf
jmp 0x51e19390
mov eax, dword [0x51e8c348]
cmp dword [eax + 0x15c], 0
je 0x51e19390
cmp dword [0x51eb791c], 0
je 0x51e19390
and dword [0x51eb791c], 0
jmp 0x51e19390
xor esi, esi
inc esi
test bl, 4
je 0x51e2cf05
mov eax, dword [0x51e8c348]
push edi
push edi
push 0x302
push dword [eax]
call dword [0x51e8bba0]
mov eax, dword [0x51e8c348]
and dword [eax + 8], 0xffffffef
jmp 0x51e2cffe
test bl, 8
je 0x51e2cf22
mov eax, dword [0x51e8c348]
mov ecx, dword [eax + 0x58]
cmp ecx, dword [eax + 0x5c]
je 0x51e2cefc
push edi
push edi
push 0x301
push dword [eax]
jmp 0x51e2cef1
mov eax, dword [0x51e8b69c]
add eax, 0xa4
cmp byte [eax], 0
push esi
sete cl
push 7
mov byte [eax], cl
call fcn.51e3ef03
mov eax, dword [0x51e8c348]
test byte [eax + 9], 0x20
pop ecx
pop ecx
jne 0x51e2cffe
mov ecx, dword [0x51e8b69c]
cmp ecx, edi
jne 0x51e2cf86
mov edi, dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
call edi
cmp ax, 0x411
je 0x51e2cf99
call edi
cmp ax, 0x404
je 0x51e2cf99
call edi
cmp ax, 0x412
je 0x51e2cf99
call edi
xor edi, edi
cmp ax, 0x804
mov eax, dword [0x51e8c348]
jne 0x51e2cfa9
jmp 0x51e2cfa0
cmp dword [ecx + 0x53bc], edi
jne 0x51e2cfa0
test byte [ecx + 0x53b6], 0x3c
je 0x51e2cfa9
jmp 0x51e2cfa0
mov eax, dword [0x51e8c348]
xor edi, edi
test byte [eax + 0x11c], 0x10
jne 0x51e2cffe
mov ecx, dword [0x51e8b69c]
cmp byte [ecx + 0xa4], 0
je 0x51e2cfbf
call fcn.51e181ce
jmp 0x51e2cffe
mov ecx, dword [eax + 0x5c]
sub ecx, dword [eax + 0x58]
cmp ecx, esi
jne 0x51e2cffe
mov eax, dword [eax + 0x58]
push edi
push edi
push eax
push eax
call fcn.51e1828b
mov eax, dword [0x51e8c348]
and dword [eax + 8], 0xffffffef
add esp, 0x10
call fcn.51e671c5
mov eax, dword [0x51e8c348]
push edi
push edi
push dword [eax + 0x54]
call fcn.51e16841
push eax
call fcn.51e17032
add esp, 0x10
mov dword [ebp - 0x44], esi
jmp 0x51e193a5