Function at 0x10038740
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10066c70
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x494
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov eax, 0xf800
mov dword [ebp - 0x4a4], 0x94ec0332
mov dword [ebp - 0x4a0], eax
mov cx, word [0x100811b8]
mov word [ebp - 0x30], cx
mov byte [ebp - 0x14], 0x21
movsx dx, byte [str.Failedtogetdatabas]
mov word [ebp - 0x44], dx
xor eax, eax
mov dword [ebp - 0x40], 0xa3
mov dword [ebp - 0x3c], eax
mov ecx, 0x4cb8
mov word [ebp - 0x24], cx
movsx dx, byte [str.Failedtogetdatabas]
mov word [ebp - 0x28], dx
mov dword [ebp - 0x4c], 0x76d8d739
mov byte [ebp - 0x11], 0x8b
mov al, byte [0x10081118]
mov byte [ebp - 0x13], al
movzx eax, byte [0x1008108a]
cdq
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], edx
mov cx, word [0x100811dc]
mov word [ebp - 0x1c], cx
movsx edx, byte [0x1008103b]
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x34], 0xaec22ecb
mov dword [ebp - 0x48], 0x45
mov ax, word [0x1008115c]
mov byte [ebp - 0x1d], al
mov byte [ebp - 0x12], 0x4f
mov ecx, dword [0x100811b0]
mov edx, dword [0x100811b4]
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x74], edx
xor eax, eax
mov dword [ebp - 0x5c], 0x99be1446
mov dword [ebp - 0x58], eax
mov ecx, dword [0x10081190]
mov edx, dword [0x10081194]
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x50], edx
mov eax, dword [0x100810f8]
mov ecx, dword [0x100810fc]
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], ecx
movzx edx, word [0x100811d8]
mov dword [ebp - 0x60], edx
mov eax, dword [0x10081160]
mov ecx, dword [0x10081164]
mov dword [ebp - 0x468], ecx
mov byte [ebp - 0x15], al
mov dx, word [0x1008115c]
mov word [ebp - 0x2c], dx
xor eax, eax
mov dword [ebp - 0x484], 0xf8fe
mov dword [ebp - 0x480], eax
mov ecx, 0xffffbb98
mov word [ebp - 0x248], cx
mov dx, word [0x10081158]
mov word [ebp - 0x24c], dx
mov eax, 0x5807e
mov dword [ebp - 0x48c], 0xca039288
mov dword [ebp - 0x488], eax
mov dword [ebp - 0x424], 0x93579208
mov dword [ebp - 0x478], 0x9dca5455
mov ecx, 0x54328
mov dword [ebp - 0x494], 0xe82600f4
mov dword [ebp - 0x490], ecx
mov byte [ebp - 0x81], 0x5a
mov edx, 0x2c
mov word [ebp - 0x250], dx
movsx eax, word [0x100811dc]
cdq
mov dword [ebp - 0x49c], eax
mov dword [ebp - 0x498], edx
mov eax, dword [str.5U_]
mov ecx, dword [0x100811c4]
mov dword [ebp - 0x3f4], ecx
mov byte [ebp - 0x82], al
movsx edx, word [0x100811e0]
mov dword [ebp - 0x3f8], edx
mov byte [ebp - 0x83], 0xcd
mov eax, dword [0x10081178]
mov ecx, dword [0x1008117c]
mov dword [ebp - 0x3fc], ecx
mov byte [ebp - 0x84], al
mov byte [ebp - 0x85], 0x62
mov edx, dword [str.5U_]
mov eax, dword [0x100811c4]
mov dword [ebp - 0x400], eax
mov byte [ebp - 0x12], dl
mov byte [ebp - 0x12], 0x10
mov eax, dword [ebp - 0x38]
cdq
add eax, dword [ebp - 0x78]
mov dword [ebp - 0x38], eax
mov ecx, dword [0x10081cb8]
mov dword [ebp - 0x98], ecx
movsx eax, byte [0x100810b2]
cdq
mov dword [ebp - 0x26c], eax
mov dword [ebp - 0x268], edx
mov edx, dword [0x10081100]
cmp edx, dword [ebp - 0x26c]
jne 0x10038b7c
mov eax, dword [0x10081104]
cmp eax, dword [ebp - 0x268]
jne 0x10038b7c
movzx ecx, byte [ebp - 0x1d]
test ecx, ecx
je 0x10038b06
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jb 0x10038a0d
jmp 0x100389f1
jmp 0x10038a08
jmp 0x10038b04
movsx edx, word [0x100811e0]
test edx, edx
je 0x10038a4e
xor eax, eax
mov dword [0x10081160], 8
mov dword [0x10081164], eax
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x58]
push 0
push 0xe8c
push edx
push ecx
call fcn.1005a880
mov dword [0x1008110c], eax
mov dword [ebp - 0x38], 8
jmp 0x10038b04
movzx eax, word [ebp - 0x30]
movsx ecx, word [0x1008115c]
not ecx
cmp ecx, eax
jge 0x10038a6b
mov dword [ebp - 0x1a4], 1
jmp 0x10038a75
mov dword [ebp - 0x1a4], 0
mov edx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x6c]
mov ecx, dword [0x10081150]
mov esi, dword [0x10081154]
not ecx
not esi
push eax
push edx
push esi
push ecx
call fcn.1005a880
mov ecx, eax
mov esi, edx
mov eax, dword [ebp - 0x1a4]
not eax
cdq
mov dword [ebp - 0x274], eax
mov dword [ebp - 0x270], edx
mov dword [ebp - 0x27c], ecx
mov dword [ebp - 0x278], esi
mov edx, dword [ebp - 0x274]
cmp edx, dword [ebp - 0x27c]
jne 0x10038b04
mov eax, dword [ebp - 0x270]
cmp eax, dword [ebp - 0x278]
jne 0x10038b04
movsx ecx, word [0x100811a0]
xor ecx, 0x3bf979fb
movsx edx, byte [ebp - 0x12]
movsx eax, word [0x1008115c]
add eax, edx
not eax
add eax, ecx
cdq
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], edx
mov dword [0x10081170], 0x6cee5fc0
jmp 0x10038b7c
movsx eax, byte [str.Failedtogetdatabas]
movzx ecx, byte [0x1008108a]
cmp ecx, eax
je 0x10038b24
mov dword [ebp - 0x1a8], 1
jmp 0x10038b2e
mov dword [ebp - 0x1a8], 0
mov edx, dword [ebp - 0x1a8]
not edx
test edx, edx
je 0x10038b7c
movzx eax, word [ebp - 0x44]
test eax, eax
je 0x10038b7c
push 0
push 0x2adcbedf
mov ecx, dword [0x1008111c]
push ecx
mov edx, dword [0x10081118]
push edx
call fcn.1005a880
mov ecx, eax
movzx eax, byte [0x1008108a]
cdq
add eax, ecx
mov byte [0x1008108a], al
mov edx, dword [0x100811ac]
sub edx, 0xbc24
mov byte [ebp - 0x1d], dl
mov eax, dword [ebp - 0x98]
add eax, 0x77d
mov dword [ebp - 0x25c], eax
call dword [sym.imp.USER32.dll_GetDialogBaseUnits]
mov byte [str.Failedtogetdatabas], al
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x284], ecx
mov dword [ebp - 0x280], edx
mov eax, dword [ebp - 0x284]
or eax, dword [ebp - 0x280]
jne 0x10038bcc
xor ecx, ecx
mov dword [ebp - 0x1bc], 1
mov dword [ebp - 0x1b8], ecx
jmp 0x10038bd7
xorps xmm0, xmm0
movlpd qword [ebp - 0x1bc], xmm0
mov edx, dword [ebp - 0x1b8]
cmp edx, dword [0x1008112c]
jg 0x10038c01
jl 0x10038bf5
mov eax, dword [ebp - 0x1bc]
cmp eax, dword [0x10081128]
ja 0x10038c01
mov dword [ebp - 0xc4], 1
jmp 0x10038c0b
mov dword [ebp - 0xc4], 0
movzx ecx, word [ebp - 0x44]
test ecx, ecx
je 0x10038c27
movzx edx, word [ebp - 0x1c]
test edx, edx
jne 0x10038c27
mov dword [ebp - 0x1ac], 1
jmp 0x10038c31
mov dword [ebp - 0x1ac], 0
movsx eax, byte [0x1008103b]
test eax, eax
je 0x10038c50
movzx ecx, byte [ebp - 0x14]
test ecx, ecx
jne 0x10038c50
mov dword [ebp - 0xc8], 1
jmp 0x10038c5a
mov dword [ebp - 0xc8], 0
mov edx, dword [ebp - 0x1ac]
not edx
add edx, dword [ebp - 0xc4]
cmp edx, dword [ebp - 0xc8]
jg 0x10038d17
mov dword [ebp - 0x94], 0
jmp 0x10038c8f
mov eax, dword [ebp - 0x94]
add eax, 1
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 0x1ac
jge 0x10038d17
movzx ecx, byte [0x10081027]
sub ecx, 0xef
mov word [0x1008115c], cx
movzx edx, word [0x100811d8]
sub edx, 0x853b
mov byte [str.Failedtogetdatabas], dl
cmp dword [ebp - 0x4c], 0
je 0x10038cdb
movzx eax, word [ebp - 0x1c]
cdq
mov dword [ebp - 0x1b4], eax
mov dword [ebp - 0x1b0], edx
jmp 0x10038cf2
mov eax, dword [0x10081168]
mov ecx, dword [0x1008116c]
mov dword [ebp - 0x1b4], eax
mov dword [ebp - 0x1b0], ecx
mov edx, dword [ebp - 0x1b4]
mov eax, dword [ebp - 0x1b0]
mov dword [0x10081100], edx
mov dword [0x10081104], eax
mov ecx, dword [ebp - 0x38]
add ecx, 1
mov dword [ebp - 0x38], ecx
jmp 0x10038c80
mov edx, dword [ebp - 0x98]
add edx, 0x84b
mov dword [ebp - 0x258], edx
cmp dword [0x100811c8], 0
je 0x10038ea6
cmp dword [ebp - 0x4c], 0
je 0x10038d65
mov eax, dword [0x1008113c]
not eax
movsx ecx, byte [ebp - 0x13]
add eax, ecx
cdq
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], edx
movzx eax, word [ebp - 0x1c]
add eax, 0x7062879c
cdq
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], edx
jmp 0x10038ea1
movzx edx, byte [ebp - 0x14]
test edx, edx
jne 0x10038d75
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x10038da6
mov ecx, dword [0x100811d0]
mov edx, dword [0x100811d4]
mov eax, 8
imul eax, eax, 0x6d
sub ecx, dword [eax + 0x10121b78]
sbb edx, dword [eax + 0x10121b7c]
mov dword [0x100811d0], ecx
mov dword [0x100811d4], edx
jmp 0x10038ea1
mov ecx, dword [0x10081160]
mov esi, dword [0x10081164]
movzx eax, word [ebp - 0x1c]
cdq
mov dword [ebp - 0x28c], eax
mov dword [ebp - 0x288], edx
mov dword [ebp - 0x294], ecx
mov dword [ebp - 0x290], esi
mov edx, dword [ebp - 0x288]
cmp edx, dword [ebp - 0x290]
jb 0x10038e40
ja 0x10038ded
mov eax, dword [ebp - 0x28c]
cmp eax, dword [ebp - 0x294]
jb 0x10038e40
cmp dword [0x10081114], 0
je 0x10038e40
movzx ecx, byte [ebp - 0x11]
test ecx, ecx
je 0x10038e0c
mov edx, dword [0x10081170]
mov dword [ebp - 0xcc], edx
jmp 0x10038e16
movsx eax, word [ebp - 0x2c]
mov dword [ebp - 0xcc], eax
mov ecx, dword [ebp - 0xcc]
mov dword [ebp - 0x48], ecx
mov ecx, dword [ebp - 0x68]
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x404], edx
movzx eax, byte [ebp - 0x11]
cdq
mov esi, eax
add esi, ecx
movzx eax, byte [ebp - 0x11]
cdq
or eax, esi
mov byte [ebp - 0x11], al
jmp 0x10038ea1
movsx eax, byte [ebp - 0x12]
test eax, eax
jne 0x10038e5c
xor ecx, ecx
mov dword [ebp - 0x1c4], 1
mov dword [ebp - 0x1c0], ecx
jmp 0x10038e67
xorps xmm0, xmm0
movlpd qword [ebp - 0x1c4], xmm0
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x29c], edx
mov dword [ebp - 0x298], eax
mov ecx, dword [ebp - 0x298]
cmp ecx, dword [ebp - 0x1c0]
ja 0x10038ea1
jb 0x10038e97
mov edx, dword [ebp - 0x29c]
cmp edx, dword [ebp - 0x1c4]
ja 0x10038ea1
mov ax, word [ebp - 0x24]
mov word [0x1008115c], ax
jmp 0x10038f3e
movzx ecx, byte [ebp - 0x11]
test ecx, ecx
jne 0x10038ebd
movsx edx, word [0x10081184]
test edx, edx
jne 0x10038f3e
mov ecx, dword [0x100811d0]
mov esi, dword [0x100811d4]
movzx eax, byte [ebp - 0x1d]
cdq
sub eax, ecx
sbb edx, esi
mov dword [ebp - 0x2a4], eax
mov dword [ebp - 0x2a0], edx
mov edx, dword [ebp - 0x2a4]
or edx, dword [ebp - 0x2a0]
jne 0x10038f00
xor eax, eax
mov dword [ebp - 0x2ac], 1
mov dword [ebp - 0x2a8], eax
jmp 0x10038f0b
xorps xmm0, xmm0
movlpd qword [ebp - 0x2ac], xmm0
mov ecx, dword [ebp - 0x2ac]
sub ecx, dword [0x100810f8]
mov word [0x100811dc], cx
mov edx, dword [0x10081188]
mov eax, dword [0x1008118c]
add edx, 0x5f195f23
adc eax, 0x32793
not edx
not eax
mov dword [ebp - 0x70], edx
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x98]
add ecx, 0x833
mov dword [ebp - 0x408], ecx
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x60]
xor esi, esi
mov dword [ebp - 0x2b4], ecx
mov dword [ebp - 0x2b0], esi
mov dword [ebp - 0x2bc], edx
mov dword [ebp - 0x2b8], eax
mov edx, dword [ebp - 0x2b4]
cmp edx, dword [ebp - 0x2bc]
jne 0x10038f8f
mov eax, dword [ebp - 0x2b0]
cmp eax, dword [ebp - 0x2b8]
je 0x10038f9b
mov dword [ebp - 0xd0], 1
jmp 0x10038fa5
mov dword [ebp - 0xd0], 0
cmp dword [ebp - 0x60], 0x51
je 0x10038fb7
mov dword [ebp - 0xd4], 1
jmp 0x10038fc1
mov dword [ebp - 0xd4], 0
mov ecx, dword [ebp - 0xd0]
cmp ecx, dword [ebp - 0xd4]
jle 0x10038fe6
movsx edx, word [0x100811dc]
mov eax, 4
imul ecx, eax, 0x77
mov dword [ecx + 0x1019a5a8], edx
jmp 0x1003900d
movzx edx, byte [0x1008108a]
imul eax, edx, 0x89ff2301
movsx ecx, byte [ebp - 0x13]
add ecx, eax
mov byte [ebp - 0x13], cl
mov edx, dword [ebp - 0x48]
mov eax, 1
imul ecx, eax, 0x1b
mov byte [ecx + 0x102a7790], dl
mov edx, dword [0x10081cb8]
mov dword [ebp - 0x9c], edx
movzx ax, byte [0x1008104f]
movzx ecx, ax
push ecx
mov edx, dword [0x10081178]
mov eax, dword [0x1008117c]
mov dword [ebp - 0x40c], eax
movzx ecx, dx
push ecx
push 0
push 0x14
push 0
movzx edx, word [ebp - 0x34]
push edx
call fcn.100373b0
add esp, 0x18
mov byte [ebp - 0x11], al
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x1003911b
cmp dword [0x10081170], 0
jne 0x10039071
mov dword [ebp - 0xd8], 1
jmp 0x1003907b
mov dword [ebp - 0xd8], 0
movzx ecx, word [ebp - 0x1c]
imul ecx, dword [ebp - 0xd8]
test ecx, ecx
jne 0x10039096
mov dword [ebp - 0xdc], 1
jmp 0x100390a0
mov dword [ebp - 0xdc], 0
movzx edx, byte [ebp - 0x11]
not edx
movzx eax, byte [0x1008104f]
imul eax, edx
imul eax, dword [ebp - 0xdc]
cdq
mov esi, eax
movzx eax, word [ebp - 0x24]
movsx ecx, word [0x100811dc]
add eax, ecx
cdq
mov edi, eax
mov ebx, edx
mov edx, dword [ebp - 0x48]
xor eax, eax
push eax
push edx
mov ecx, dword [0x1008111c]
push ecx
mov edx, dword [0x10081118]
push edx
call fcn.1005a880
push ebx
push edi
push edx
push eax
call fcn.1005a880
add eax, esi
mov word [ebp - 0x30], ax
movzx eax, word [ebp - 0x44]
sub eax, 0x4100aecd
mov dword [ebp - 0x48], eax
movzx ecx, byte [0x10081063]
mov edx, 4
imul eax, edx, 0x25
mov dword [eax + 0x100982d8], ecx
jmp 0x100391c3
movzx ecx, byte [0x10081027]
not ecx
test ecx, ecx
je 0x100391c3
mov edx, dword [0x10081100]
sub edx, 0xda
mov eax, dword [0x10081104]
sbb eax, 0
mov dword [0x100811e8], edx
mov dword [0x100811ec], eax
movsx ecx, word [0x1008115c]
test ecx, ecx
jne 0x10039162
mov dword [ebp - 0xe0], 1
jmp 0x1003916c
mov dword [ebp - 0xe0], 0
mov ecx, dword [0x100811b0]
mov edx, dword [0x100811b4]
mov dword [ebp - 0x410], edx
not ecx
add ecx, 0xc4
movsx eax, byte [ebp - 0x12]
imul eax, dword [ebp - 0xe0]
cdq
add eax, ecx
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x414], edx
xor edx, edx
sub edx, ecx
sub edx, dword [0x10081100]
add edx, eax
mov word [0x10081184], dx
movsx eax, word [0x100811b8]
sub eax, 0x21
mov word [0x10081140], ax
mov ecx, dword [ebp - 0x9c]
add ecx, 0x57f
mov dword [ebp - 0x418], ecx
movzx edx, byte [ebp - 0x15]
test edx, edx
jne 0x100391f1
xor eax, eax
mov dword [ebp - 0x1cc], 1
mov dword [ebp - 0x1c8], eax
jmp 0x100391fc
xorps xmm0, xmm0
movlpd qword [ebp - 0x1cc], xmm0
mov ecx, dword [str.5U_]
mov edx, dword [0x100811c4]
mov dword [ebp - 0x2c4], ecx
mov dword [ebp - 0x2c0], edx
mov eax, dword [ebp - 0x2c0]
cmp eax, dword [ebp - 0x1c8]
jb 0x10039246
ja 0x10039232
mov ecx, dword [ebp - 0x2c4]
cmp ecx, dword [ebp - 0x1cc]
jb 0x10039246
xor edx, edx
mov dword [ebp - 0x1d4], 1
mov dword [ebp - 0x1d0], edx
jmp 0x10039251
xorps xmm0, xmm0
movlpd qword [ebp - 0x1d4], xmm0
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x2cc], eax
mov dword [ebp - 0x2c8], ecx
mov edx, dword [ebp - 0x2c8]
cmp edx, dword [ebp - 0x1d0]
ja 0x10039328
jb 0x10039289
mov eax, dword [ebp - 0x2cc]
cmp eax, dword [ebp - 0x1d4]
ja 0x10039328
mov ecx, dword [0x10081130]
mov edx, dword [0x10081134]
mov dword [ebp - 0x2d4], ecx
mov dword [ebp - 0x2d0], edx
mov eax, dword [ebp - 0x2d4]
or eax, dword [ebp - 0x2d0]
jne 0x100392bb
mov dword [ebp - 0xe4], 1
jmp 0x100392c5
mov dword [ebp - 0xe4], 0
cmp dword [ebp - 0xe4], 0x7622
jle 0x100392dd
mov dword [ebp - 0xe8], 1
jmp 0x100392e7
mov dword [ebp - 0xe8], 0
movsx ecx, byte [0x100810b2]
test ecx, ecx
jne 0x1003930c
mov edx, dword [0x10081198]
or edx, dword [0x1008119c]
jne 0x1003930c
mov dword [ebp - 0xec], 0
jmp 0x10039316
mov dword [ebp - 0xec], 1
mov eax, dword [ebp - 0xe8]
cmp eax, dword [ebp - 0xec]
je 0x100393f8
movsx ecx, word [ebp - 0x28]
test ecx, ecx
je 0x1003939d
mov dx, word [0x1008115c]
mov word [0x10081110], dx
movsx eax, word [ebp - 0x28]
movsx ecx, word [0x100811a0]
movsx edx, byte [ebp - 0x12]
sub edx, ecx
movzx ecx, word [0x100811d8]
movzx esi, byte [0x10081027]
sub esi, ecx
add esi, edx
xor esi, eax
jne 0x10039379
xor edx, edx
mov dword [ebp - 0x1dc], 1
mov dword [ebp - 0x1d8], edx
jmp 0x10039384
xorps xmm0, xmm0
movlpd qword [ebp - 0x1dc], xmm0
mov eax, dword [ebp - 0x1dc]
mov ecx, dword [ebp - 0x1d8]
mov dword [0x10081130], eax
mov dword [0x10081134], ecx
jmp 0x100393f6
movzx edx, word [ebp - 0x1c]
test edx, edx
jne 0x100393b1
mov dword [ebp - 0xf0], 1
jmp 0x100393bb
mov dword [ebp - 0xf0], 0
movzx eax, word [ebp - 0x44]
imul eax, dword [ebp - 0xf0]
movsx ecx, byte [0x1008108b]
sub ecx, eax
mov byte [ebp - 0x1d], cl
movzx eax, word [0x100811a8]
cdq
mov ecx, dword [0x100811b0]
mov esi, dword [0x100811b4]
sub ecx, eax
sbb esi, edx
mov dword [0x100811b0], ecx
mov dword [0x100811b4], esi
jmp 0x1003942d
mov edx, dword [ebp - 0x34]
xor eax, eax
push eax
push edx
mov ecx, dword [0x1008119c]
push ecx
mov edx, dword [0x10081198]
push edx
call fcn.1005a880
mov dword [0x10081198], eax
mov dword [0x1008119c], edx
movzx eax, word [ebp - 0x30]
sub eax, 0x60
movsx ecx, byte [ebp - 0x12]
sub ecx, eax
mov byte [ebp - 0x12], cl
mov edx, dword [ebp - 0x9c]
add edx, 0x559
mov dword [ebp - 0x41c], edx
movsx eax, byte [ebp - 0x13]
test eax, eax
je 0x100394ea
movsx eax, word [0x10081110]
cdq
mov ecx, dword [0x10081148]
mov esi, dword [0x1008114c]
sub ecx, eax
sbb esi, edx
mov dword [ebp - 0x2dc], ecx
mov dword [ebp - 0x2d8], esi
mov edx, dword [ebp - 0x2dc]
or edx, dword [ebp - 0x2d8]
jne 0x10039489
mov dword [ebp - 0xf4], 1
jmp 0x10039493
mov dword [ebp - 0xf4], 0
movsx eax, word [0x1008115c]
add eax, dword [ebp - 0xf4]
cdq
mov ecx, dword [0x1008111c]
push ecx
mov ecx, dword [0x10081118]
push ecx
push edx
push eax
call fcn.1005a880
not eax
not edx
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], edx
mov edx, dword [0x1008110c]
sub edx, 0x35074f31
xor eax, eax
mov dword [0x10081130], edx
mov dword [0x10081134], eax
mov ecx, dword [ebp - 0x48]
add ecx, dword [0x10081170]
mov dword [0x10081170], ecx
jmp 0x1003952f
movzx eax, byte [ebp - 0x15]
cdq
mov ecx, dword [ebp - 0x74]
push ecx
mov ecx, dword [ebp - 0x78]
push ecx
push edx
push eax
call fcn.1005a880
mov byte [ebp - 0x15], al
movsx eax, word [0x100811a0]
add eax, 0x19
cdq
add eax, dword [0x10081120]
adc edx, dword [0x10081124]
mov dword [0x10081120], eax
mov dword [0x10081124], edx
xor edx, edx
mov dword [ebp - 0x40], 0xafc3
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x9c]
add eax, 0x6b8
mov dword [ebp - 0x260], eax
movzx ecx, byte [ebp - 0x14]
test ecx, ecx
je 0x100396d0
movsx eax, byte [ebp - 0x12]
cdq
mov dword [ebp - 0x2e4], eax
mov dword [ebp - 0x2e0], edx
mov edx, dword [0x10081194]
cmp edx, dword [ebp - 0x2e0]
ja 0x1003968c
jb 0x10039582
mov eax, dword [0x10081190]
cmp eax, dword [ebp - 0x2e4]
ja 0x1003968c
mov ecx, dword [0x100811f0]
cmp dword [ebp - 0x34], ecx
jb 0x100395af
mov edx, dword [0x10081cb8]
mov dword [0x100811ac], edx
xor eax, eax
mov dword [0x10081160], 0x87af
mov dword [0x10081164], eax
jmp 0x1003968a
movzx ecx, word [ebp - 0x24]
movsx edx, byte [ebp - 0x12]
cmp edx, ecx
jle 0x100395c7
mov dword [ebp - 0xf8], 1
jmp 0x100395d1
mov dword [ebp - 0xf8], 0
mov eax, dword [str.5U_]
mov ecx, dword [0x100811c4]
mov edx, dword [ebp - 0x70]
mov esi, dword [ebp - 0x6c]
mov dword [ebp - 0x2ec], edx
mov dword [ebp - 0x2e8], esi
mov dword [ebp - 0x2f4], eax
mov dword [ebp - 0x2f0], ecx
mov eax, dword [ebp - 0x2e8]
cmp eax, dword [ebp - 0x2f0]
jb 0x10039624
ja 0x10039618
mov ecx, dword [ebp - 0x2ec]
cmp ecx, dword [ebp - 0x2f4]
jbe 0x10039624
mov dword [ebp - 0xfc], 1
jmp 0x1003962e
mov dword [ebp - 0xfc], 0
mov edx, dword [ebp - 0xf8]
not edx
or edx, dword [ebp - 0xfc]
je 0x1003968a
mov ecx, dword [0x10081188]
mov edx, dword [0x1008118c]
mov dword [ebp - 0x420], edx
add ecx, 0x5f21
movsx eax, byte [str.Failedtogetdatabas]
cdq
sub eax, ecx
mov byte [str.Failedtogetdatabas], al
movzx eax, byte [0x10081027]
imul eax, eax, 0x4f
cdq
mov ecx, dword [0x10081118]
sub ecx, eax
mov eax, dword [0x1008111c]
sbb eax, edx
mov dword [0x10081118], ecx
mov dword [0x1008111c], eax
jmp 0x100396cb
movzx ecx, word [ebp - 0x24]
test ecx, ecx
je 0x100396cb
mov edx, dword [ebp - 0x60]
sub edx, dword [0x10081170]
add edx, dword [ebp - 0x60]
mov dword [ebp - 0x60], edx
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], ecx
movzx eax, word [0x10081158]
cdq
mov ecx, 8
imul ecx, ecx, 0x23
mov dword [ecx + 0x10199e98], eax
mov dword [ecx + 0x10199e9c], edx
jmp 0x10039760
mov edx, dword [0x10081100]
or edx, dword [0x10081104]
jne 0x100396f2
xor eax, eax
mov dword [ebp - 0x1e4], 1
mov dword [ebp - 0x1e0], eax
jmp 0x100396fd
xorps xmm0, xmm0
movlpd qword [ebp - 0x1e4], xmm0
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0x2fc], ecx
mov dword [ebp - 0x2f8], edx
mov eax, dword [ebp - 0x2f8]
cmp eax, dword [ebp - 0x1e0]
jb 0x10039760
ja 0x1003972d
mov ecx, dword [ebp - 0x2fc]
cmp ecx, dword [ebp - 0x1e4]
jb 0x10039760
movsx edx, byte [str.Failedtogetdatabas]
imul eax, edx, 0xc1f2
cdq
mov ecx, dword [0x10081168]
mov esi, dword [0x1008116c]
add ecx, eax
adc esi, edx
mov dword [0x10081168], ecx
mov dword [0x1008116c], esi
mov edx, 0x4aa0
mov word [ebp - 0x2c], dx
mov eax, dword [0x10081cb8]
mov dword [ebp - 0xa0], eax
xor ecx, ecx
mov dword [ebp - 0x78], 0xd22240c5
mov dword [ebp - 0x74], ecx
mov edx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x428], eax
mov ecx, 1
imul eax, ecx, 0x1ec6
mov byte [eax + 0x10244fe8], dl
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x58]
mov dword [0x100811d0], ecx
mov dword [0x100811d4], edx
mov eax, dword [ebp - 0xa0]
add eax, 0x728
mov dword [ebp - 0x42c], eax
xor ecx, ecx
mov dword [0x10081168], 0x8ef7
mov dword [0x1008116c], ecx
movzx edx, byte [ebp - 0x11]
test edx, edx
jne 0x100397e5
xor eax, eax
mov dword [ebp - 0x304], 1
mov dword [ebp - 0x300], eax
jmp 0x100397f0
xorps xmm0, xmm0
movlpd qword [ebp - 0x304], xmm0
movsx eax, word [ebp - 0x2c]
cdq
add eax, dword [0x10081118]
xor eax, dword [ebp - 0x304]
mov byte [ebp - 0x12], al
mov ecx, dword [ebp - 0xa0]
add ecx, 0x76c
mov dword [ebp - 0x17c], ecx
mov dword [ebp - 0x38], 0
imul edx, dword [ebp - 0x60], 0x4c
mov dword [0x10081170], edx
mov eax, dword [0x10081128]
sub eax, 0x5c0bb543
mov word [0x100811dc], ax
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x254], ecx
cmp dword [ebp - 0x254], 0
je 0x1003984b
jmp 0x1003989f
movzx edx, word [ebp - 0x30]
movzx eax, word [0x100811d8]
add eax, edx
mov word [0x100811d8], ax
mov ecx, dword [ebp - 0x68]
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x430], edx
movzx eax, byte [0x10081063]
cdq
mov esi, eax
add esi, ecx
movzx eax, byte [0x10081063]
cdq
add eax, esi
mov byte [0x10081063], al
mov eax, 1
imul ecx, eax, 0x5ec2
movsx edx, byte [ecx + 0x100ad5e8]
mov eax, dword [ebp - 0x38]
and eax, edx
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0xa0]
add ecx, 0x74d
mov dword [ebp - 0x264], ecx
mov byte [ebp - 0x15], 2
mov dword [ebp - 0x34], 0x7bfd
movsx edx, word [0x100811e0]
test edx, edx
je 0x100398d9
mov eax, dword [ebp - 0x38]
cdq
mov dword [ebp - 0x1ec], eax
mov dword [ebp - 0x1e8], edx
jmp 0x100398eb
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0x1ec], eax
mov dword [ebp - 0x1e8], ecx
mov edx, dword [ebp - 0x1ec]
mov dword [0x1008110c], edx
mov al, byte [ebp - 0x15]
mov byte [ebp - 0xa4], al
cmp byte [ebp - 0xa4], 0
je 0x10039924
cmp byte [ebp - 0xa4], 1
je 0x10039982
cmp byte [ebp - 0xa4], 2
je 0x100399ba
jmp 0x100399e5
xor ecx, ecx
mov edx, dword [0x10081198]
sub edx, dword [0x10081170]
mov eax, dword [0x1008119c]
sbb eax, ecx
add edx, dword [0x10081198]
adc eax, dword [0x1008119c]
mov dword [0x10081198], edx
mov dword [0x1008119c], eax
movsx eax, byte [ebp - 0x12]
cdq
mov ecx, dword [0x10081150]
mov esi, dword [0x10081154]
sub ecx, eax
sbb esi, edx
mov dword [0x10081150], ecx
mov dword [0x10081154], esi
mov edx, dword [ebp - 0x38]
xor edx, 0xdd4d
mov byte [0x1008103b], dl
jmp 0x100399e5
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x6c]
mov edx, dword [0x100811f0]
xor esi, esi
push ecx
push eax
push esi
push edx
call fcn.1005a880
mov ecx, dword [0x100811f0]
sub ecx, eax
mov dword [0x100811f0], ecx
movzx edx, byte [ebp - 0x11]
movzx eax, word [ebp - 0x30]
xor eax, edx
not eax
mov dword [0x10081138], eax
jmp 0x100399e5
mov ecx, dword [str.5U_]
mov edx, dword [0x100811c4]
mov eax, dword [ebp - 0x5c]
mov esi, dword [ebp - 0x58]
push edx
push ecx
push esi
push eax
call fcn.1005a880
mov ecx, dword [ebp - 0x5c]
mov esi, dword [ebp - 0x58]
sub ecx, eax
sbb esi, edx
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x58], esi
mov edx, dword [0x10081cb8]
mov dword [ebp - 0xa8], edx
movsx eax, word [0x10081180]
cmp dword [ebp - 0x60], eax
jb 0x10039a09
mov dword [ebp - 0x100], 1
jmp 0x10039a13
mov dword [ebp - 0x100], 0
cmp dword [ebp - 0x60], 0xe
jb 0x10039a25
mov dword [ebp - 0x104], 1
jmp 0x10039a2f
mov dword [ebp - 0x104], 0
mov ecx, dword [ebp - 0x100]
cmp ecx, dword [ebp - 0x104]
jge 0x10039bd2
mov dword [ebp - 4], 0
push 0
push 0x56
push 0
push 0
movsx eax, byte [0x1008103b]
cdq
push edx
push eax
push 0
push 0
push 0
push 0x38
push 0
push 0x25
push 0
push 0x85
call fcn.10035970
add esp, 0x38
mov dword [ebp - 0x3dc], eax
mov dword [ebp - 0x3d8], edx
mov dl, byte [ebp - 0x3dc]
mov byte [ebp - 0x13], dl
movsx eax, byte [ebp - 0x13]
test eax, eax
je 0x10039a9e
mov dword [ebp - 0x108], 1
jmp 0x10039aa8
mov dword [ebp - 0x108], 0
movsx ecx, byte [ebp - 0x13]
cmp ecx, 0x2d
je 0x10039abd
mov dword [ebp - 0x10c], 1
jmp 0x10039ac7
mov dword [ebp - 0x10c], 0
mov edx, dword [ebp - 0x108]
cmp edx, dword [ebp - 0x10c]
jle 0x10039b4e
movsx eax, byte [0x1008103b]
imul ecx, eax, 0x2174d8a3
mov dword [ebp - 0x60], ecx
mov edx, dword [0x1008110c]
add edx, 0xf91f
mov byte [0x10081027], dl
movsx eax, byte [0x1008108b]
test eax, eax
jne 0x10039b0e
mov dword [ebp - 0x110], 1
jmp 0x10039b18
mov dword [ebp - 0x110], 0
movzx ecx, word [0x100811d8]
test ecx, ecx
jne 0x10039b2f
mov dword [ebp - 0x114], 1
jmp 0x10039b39
mov dword [ebp - 0x114], 0
mov eax, dword [ebp - 0x110]
sub eax, dword [ebp - 0x114]
cdq
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], edx
jmp 0x10039b8f
mov edx, dword [ebp - 0x78]
or edx, dword [ebp - 0x74]
je 0x10039b8f
movsx eax, word [0x10081184]
cdq
sub eax, 0xfb0c9b8e
sbb edx, 0xec1cb
mov ecx, dword [ebp - 0x54]
mov esi, dword [ebp - 0x50]
add ecx, eax
adc esi, edx
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x50], esi
mov edx, 0x6700
mov word [0x1008115c], dx
mov ax, word [0x100811a8]
mov word [ebp - 0x24], ax
jmp 0x10039bc0
mov dword [ebp - 4], 0xffffffff
jmp 0x10039bd0
jmp 0x10039c2e
cmp dword [ebp - 0x34], 0
je 0x10039bfc
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x64]
push 0
push 0x75dd604c
push ecx
push eax
call fcn.1005a880
mov dword [ebp - 0x48], eax
mov edx, dword [ebp - 0x4c]
xor eax, eax
mov dword [ebp - 0x70], edx
mov dword [ebp - 0x6c], eax
jmp 0x10039c2e
cmp dword [ebp - 0x38], 0
je 0x10039c2e
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0x438], edx
add ecx, 0x9b
mov word [ebp - 0x44], cx
mov eax, dword [0x10081148]
mov ecx, dword [0x1008114c]
mov dword [0x10081100], eax
mov dword [0x10081104], ecx
mov edx, dword [ebp - 0xa8]
add edx, 0x581
mov dword [ebp - 0x90], edx
mov eax, dword [ebp - 0x48]
xor ecx, ecx
push 0xd21b0
push 0x51bc2456
push ecx
push eax
call fcn.1005a880
mov byte [ebp - 0x13], al
mov edx, 0x1b
mov word [ebp - 0x1c], dx
movzx eax, word [ebp - 0x24]
cdq
mov dword [0x10081178], eax
mov dword [0x1008117c], edx
mov eax, dword [ebp - 0xa8]
add eax, 0x55a
mov dword [ebp - 0x238], eax
movzx cx, byte [0x10081063]
mov word [ebp - 0x28], cx
mov edx, dword [ebp - 0x78]
mov eax, 4
imul ecx, eax, 0x30
mov dword [ecx + 0x100cf978], edx
mov edx, dword [ebp - 0xa8]
add edx, 0x58c
mov dword [ebp - 0x23c], edx
call dword [sym.imp.USER32.dll_GetForegroundWindow]
xor ecx, ecx
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], ecx
cmp dword [ebp + 0xc], 0
jne 0x1003a5b1
mov edx, dword [ebp - 0x60]
push edx
call fcn.10034cc0
add esp, 4
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
je 0x10039d04
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x43c], ecx
mov edx, dword [ebp - 0x34]
xor edx, eax
mov eax, dword [ebp - 0x34]
sub eax, edx
mov dword [ebp - 0x34], eax
movzx ecx, word [ebp - 0x1c]
sar ecx, 6
mov byte [ebp - 0x12], cl
jmp 0x10039d2f
movzx edx, word [ebp - 0x44]
test edx, edx
je 0x10039d2f
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x34]
sub ecx, eax
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x440], eax
add edx, 0xa9
mov byte [ebp - 0x1d], dl
mov ecx, dword [0x100811d0]
mov edx, dword [0x100811d4]
push 0
push 0x14
push edx
push ecx
call fcn.1005a880
mov dword [0x10081138], eax
movzx eax, word [0x100811a8]
add eax, 0xa8
cdq
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], edx
movsx eax, word [ebp - 0x2c]
mov ecx, dword [0x100811ac]
xor ecx, eax
mov byte [ebp - 0x13], cl
mov edx, dword [0x10081cb8]
mov dword [ebp - 0xac], edx
movsx eax, word [0x100811a0]
test eax, eax
je 0x10039e5c
movzx eax, byte [ebp - 0x14]
cdq
mov ecx, dword [0x10081188]
mov esi, dword [0x1008118c]
mov dword [ebp - 0x30c], ecx
mov dword [ebp - 0x308], esi
mov dword [ebp - 0x314], eax
mov dword [ebp - 0x310], edx
mov edx, dword [ebp - 0x308]
cmp edx, dword [ebp - 0x310]
jg 0x10039e5c
jl 0x10039dd7
mov eax, dword [ebp - 0x30c]
cmp eax, dword [ebp - 0x314]
jae 0x10039e5c
mov ecx, 1
mov word [0x10081180], cx
mov dl, byte [0x1008104f]
mov byte [0x100810b2], dl
mov eax, 0x2707d
mov dword [0x10081130], 0xb8c54371
mov dword [0x10081134], eax
movsx ecx, word [0x10081180]
mov dword [ebp - 0x118], ecx
cmp dword [ebp - 0x118], 0
je 0x10039e24
cmp dword [ebp - 0x118], 1
je 0x10039e37
jmp 0x10039e5c
mov edx, 8
shl edx, 0
mov al, byte [edx + 0x1019aa08]
mov byte [ebp - 0x1d], al
jmp 0x10039e5c
mov ecx, dword [ebp - 0x4c]
add ecx, dword [0x100811ac]
mov edx, dword [ebp - 0x4c]
add edx, ecx
mov dword [ebp - 0x4c], edx
movzx eax, byte [ebp - 0x14]
movzx ecx, word [0x100811d8]
add ecx, eax
mov word [0x100811d8], cx
mov edx, dword [ebp - 0xac]
add edx, 0x67e
mov dword [ebp - 0x444], edx
mov dword [ebp - 0xbc], 0x88e
mov eax, dword [0x100811f0]
xor eax, 0x61
mov ecx, dword [ebp - 0x48]
imul ecx, eax
mov dword [ebp - 0x48], ecx
mov edx, dword [0x10081168]
mov eax, dword [0x1008116c]
mov dword [ebp - 0x31c], edx
mov dword [ebp - 0x318], eax
mov ecx, dword [ebp - 0x31c]
or ecx, dword [ebp - 0x318]
jne 0x10039ec2
xor edx, edx
mov dword [ebp - 0x1f4], 1
mov dword [ebp - 0x1f0], edx
jmp 0x10039ecd
xorps xmm0, xmm0
movlpd qword [ebp - 0x1f4], xmm0
mov esi, dword [ebp - 0x34]
xor esi, dword [0x10081138]
xor edi, edi
mov eax, dword [0x10081148]
mov ecx, dword [0x1008114c]
mov edx, dword [ebp - 0x1f0]
push edx
mov edx, dword [ebp - 0x1f4]
push edx
push ecx
push eax
call fcn.1005a880
mov ecx, eax
mov ebx, edx
not ecx
not ebx
movsx eax, word [0x100811b8]
cdq
xor eax, ecx
xor edx, ebx
sub eax, esi
sbb edx, edi
mov dword [ebp - 0x324], eax
mov dword [ebp - 0x320], edx
mov edx, dword [ebp - 0x324]
or edx, dword [ebp - 0x320]
jne 0x10039f3e
xor eax, eax
mov dword [ebp - 0x1fc], 1
mov dword [ebp - 0x1f8], eax
jmp 0x10039f49
xorps xmm0, xmm0
movlpd qword [ebp - 0x1fc], xmm0
mov ecx, dword [ebp - 0x1fc]
mov edx, dword [ebp - 0x1f8]
mov dword [0x10081188], ecx
mov dword [0x1008118c], edx
movzx eax, byte [ebp - 0x1d]
test eax, eax
jne 0x10039f7d
xor ecx, ecx
mov dword [ebp - 0x204], 1
mov dword [ebp - 0x200], ecx
jmp 0x10039f88
xorps xmm0, xmm0
movlpd qword [ebp - 0x204], xmm0
mov ecx, dword [ebp - 0x5c]
mov esi, dword [ebp - 0x58]
not ecx
not esi
movsx eax, word [0x10081180]
cdq
push esi
push ecx
push edx
push eax
call fcn.1005a880
mov esi, eax
mov edi, edx
not esi
not edi
mov edx, dword [str.5U_]
mov eax, dword [0x100811c4]
not edx
not eax
mov ecx, dword [ebp - 0x200]
push ecx
mov ecx, dword [ebp - 0x204]
push ecx
push eax
push edx
call fcn.1005a880
push edi
push esi
push edx
push eax
call fcn.1005a880
mov dword [0x10081130], eax
mov dword [0x10081134], edx
cmp dword [ebp - 0xbc], 0x722
jle 0x1003a025
movzx eax, word [ebp - 0x1c]
add eax, 0xcf
cdq
mov dword [0x10081160], eax
mov dword [0x10081164], edx
movsx edx, byte [str.Failedtogetdatabas]
mov eax, dword [ebp - 0x4c]
imul eax, edx
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0xbc]
sub ecx, 1
mov dword [ebp - 0xbc], ecx
jmp 0x10039fe3
mov edx, dword [ebp - 0xac]
add edx, 0x842
mov dword [ebp - 0x134], edx
mov dword [ebp - 4], 2
movsx eax, byte [ebp - 0x12]
cdq
mov dword [ebp - 0x32c], eax
mov dword [ebp - 0x328], edx
mov eax, dword [ebp - 0x328]
cmp eax, dword [0x10081104]
jl case.default.0x1003a0cb
jg 0x1003a075
mov ecx, dword [ebp - 0x32c]
cmp ecx, dword [0x10081100]
jb case.default.0x1003a0cb
mov dword [0x100811a4], 4
movsx eax, word [0x100811e0]
sub eax, 0x29
cdq
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], edx
xor edx, edx
mov dword [ebp - 0x54], 0xd167
mov dword [ebp - 0x50], edx
movsx eax, word [0x1008115c]
movzx ecx, byte [ebp - 0x15]
add ecx, eax
mov byte [ebp - 0x15], cl
mov edx, dword [0x100811a4]
mov dword [ebp - 0x11c], edx
cmp dword [ebp - 0x11c], 4
ja case.default.0x1003a0cb
mov eax, dword [ebp - 0x11c]
jmp dword [eax*4 + 0x1003ba60]
mov ecx, dword [0x10081128]
xor ecx, 0x77
mov edx, dword [0x1008112c]
xor edx, 0
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x6c], edx
mov eax, dword [0x10081130]
mov ecx, dword [0x10081134]
mov dword [ebp - 0x448], ecx
mov byte [ebp - 0x12], al
jmp case.default.0x1003a0cb
mov dx, word [ebp - 0x30]
sub dx, 1
mov word [ebp - 0x30], dx
movsx eax, byte [ebp - 0x13]
add eax, 0xec
cdq
mov ecx, dword [ebp - 0x68]
mov esi, dword [ebp - 0x64]
and ecx, eax
and esi, edx
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x64], esi
jmp case.default.0x1003a0cb
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0x44c], edx
mov eax, dword [0x10081114]
cdq
add eax, ecx
mov dword [0x10081114], eax
mov eax, dword [0x10081170]
sub eax, 0xafe4
mov dword [0x10081138], eax
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x3c]
push 0
push 0xb6a0358c
push edx
push ecx
call fcn.1005a880
mov word [0x100811d8], ax
jmp case.default.0x1003a0cb
mov eax, dword [0x10081120]
mov ecx, dword [0x10081124]
mov dword [0x10081100], eax
mov dword [0x10081104], ecx
mov edx, dword [ebp - 0x6c]
mov eax, dword [0x100811b0]
mov ecx, dword [0x100811b4]
sub eax, dword [ebp - 0x70]
sbb ecx, edx
mov edx, dword [0x100811b0]
mov esi, dword [0x100811b4]
sub edx, eax
sbb esi, ecx
mov dword [0x100811b0], edx
mov dword [0x100811b4], esi
mov eax, dword [0x100811e8]
mov ecx, dword [0x100811ec]
add eax, 0x2d
adc ecx, 0
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], ecx
jmp case.default.0x1003a0cb
mov edx, dword [0x10081114]
add edx, 0xbd70
mov dword [0x10081114], edx
mov eax, dword [ebp - 0x4c]
imul eax, dword [0x1008113c]
and eax, dword [0x1008113c]
mov dword [0x1008113c], eax
movzx ecx, byte [0x1008104f]
mov edx, 4
imul eax, edx, 0xa7
or ecx, dword [eax + 0x100cfa98]
mov byte [0x1008104f], cl
jmp 0x1003a323
mov dword [ebp - 4], 0xffffffff
jmp 0x1003a333
mov eax, dword [ebp - 0xac]
add eax, 0x4d8
mov dword [ebp - 0x138], eax
mov eax, dword [0x10081138]
cdq
mov ecx, dword [0x10081160]
mov esi, dword [0x10081164]
mov dword [ebp - 0x244], ecx
mov dword [ebp - 0x240], esi
mov dword [ebp - 0x33c], eax
mov dword [ebp - 0x338], edx
mov edx, dword [ebp - 0x240]
cmp edx, dword [ebp - 0x338]
jb 0x1003a398
ja 0x1003a38c
mov eax, dword [ebp - 0x244]
cmp eax, dword [ebp - 0x33c]
jbe 0x1003a398
mov dword [ebp - 0x120], 1
jmp 0x1003a3a2
mov dword [ebp - 0x120], 0
mov ecx, dword [0x10081160]
mov edx, dword [0x10081164]
mov dword [ebp - 0x344], ecx
mov dword [ebp - 0x340], edx
cmp dword [ebp - 0x340], 0
ja 0x1003a3cc
cmp dword [ebp - 0x344], 0x5a
jbe 0x1003a3d8
mov dword [ebp - 0x124], 1
jmp 0x1003a3e2
mov dword [ebp - 0x124], 0
mov eax, dword [ebp - 0x120]
cmp eax, dword [ebp - 0x124]
jl 0x1003a43b
mov ecx, dword [ebp - 0x68]
mov edx, dword [ebp - 0x64]
add ecx, 0xcbc9
adc edx, 0
mov dword [str.5U_], ecx
mov dword [0x100811c4], edx
movsx eax, byte [ebp - 0x13]
imul eax, dword [ebp - 0x60]
test eax, eax
jne 0x1003a423
mov dword [ebp - 0x128], 1
jmp 0x1003a42d
mov dword [ebp - 0x128], 0
mov ecx, dword [ebp - 0x128]
mov dword [ebp - 0x34], ecx
jmp 0x1003a4c5
cmp dword [ebp - 0x60], 0
jne 0x1003a455
movzx edx, byte [ebp - 0x11]
test edx, edx
je 0x1003a455
mov dword [ebp - 0x12c], 0
jmp 0x1003a45f
mov dword [ebp - 0x12c], 1
cmp dword [0x10081138], 0
je 0x1003a47f
movsx eax, word [0x10081184]
test eax, eax
jne 0x1003a47f
mov dword [ebp - 0x130], 0
jmp 0x1003a489
mov dword [ebp - 0x130], 1
mov ecx, dword [ebp - 0x12c]
cmp ecx, dword [ebp - 0x130]
jle 0x1003a4c5
mov edx, dword [0x10081cb8]
xor eax, eax
mov dword [0x10081188], edx
mov dword [0x1008118c], eax
movzx ecx, byte [ebp - 0x14]
sub ecx, 0x58
mov word [0x100811e0], cx
movzx edx, word [ebp - 0x44]
sub edx, 0x2afba750
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x134]
xor eax, 0x122
mov ecx, dword [ebp - 0x134]
sub ecx, dword [ebp - 0x138]
add ecx, eax
cmp dword [ebp - 0x138], ecx
je 0x1003a5b1
movsx edx, word [ebp - 0x2c]
test edx, edx
je 0x1003a54c
mov eax, dword [str.MIG_XML_TYPE_HARD_]
mov dword [ebp - 0x3f0], eax
mov ecx, dword [0x100676bc]
mov dword [ebp - 0x3ec], ecx
mov edx, dword [0x100676c0]
mov dword [ebp - 0x3e8], edx
mov eax, dword [0x100676c4]
mov dword [ebp - 0x3e4], eax
mov cx, word [0x100676c8]
mov word [ebp - 0x3e0], cx
mov dl, byte [0x100676ca]
mov byte [ebp - 0x3de], dl
lea eax, [ebp - 0x3f0]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [0x10081108], eax
mov ecx, 4
shl ecx, 0
mov eax, dword [ecx + 0x10081cbc]
cdq
mov ecx, dword [0x10081130]
mov esi, dword [0x10081134]
and ecx, eax
and esi, edx
mov dword [0x10081130], ecx
mov dword [0x10081134], esi
push 0
push 0xa1
mov edx, dword [ebp - 0x74]
push edx
mov eax, dword [ebp - 0x78]
push eax
call fcn.1005a880
mov ecx, dword [0x100811d0]
mov esi, dword [0x100811d4]
add ecx, eax
adc esi, edx
mov dword [0x100811d0], ecx
mov dword [0x100811d4], esi
mov eax, 1
jmp 0x1003ba4c
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x34c], edx
mov dword [ebp - 0x348], eax
mov ecx, dword [ebp - 0x34c]
or ecx, dword [ebp - 0x348]
je 0x1003a6b9
mov dword [ebp - 0xb0], 0xc60
mov eax, dword [0x10081118]
mov edx, dword [0x1008111c]
mov cl, 5
call fcn.1005a8c0
mov dword [0x10081150], eax
mov dword [0x10081154], edx
mov edx, dword [0x10081150]
mov eax, dword [0x10081154]
mov dword [ebp - 0x354], edx
mov dword [ebp - 0x350], eax
mov ecx, dword [ebp - 0x354]
or ecx, dword [ebp - 0x350]
jne 0x1003a62d
mov dword [ebp - 0x13c], 1
jmp 0x1003a637
mov dword [ebp - 0x13c], 0
movzx edx, word [ebp - 0x1c]
movsx eax, word [ebp - 0x2c]
mov ecx, 0xabd2e094
sub ecx, eax
not ecx
add ecx, edx
movzx edx, byte [ebp - 0x15]
add edx, dword [ebp - 0x13c]
add edx, dword [ebp - 0x48]
xor edx, ecx
xor eax, eax
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0xb0], 0xbf7
jle 0x1003a6b7
mov ecx, dword [0x100811b0]
mov edx, dword [0x100811b4]
add ecx, dword [0x10081118]
adc edx, dword [0x1008111c]
and ecx, dword [0x10081118]
and edx, dword [0x1008111c]
mov dword [0x10081118], ecx
mov dword [0x1008111c], edx
mov eax, dword [ebp - 0x48]
add eax, dword [ebp - 0x34]
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0xb0]
sub ecx, 1
mov dword [ebp - 0xb0], ecx
jmp 0x1003a661
jmp 0x1003a6df
mov edx, dword [ebp - 0x4c]
add edx, dword [ebp - 0x34]
je 0x1003a6df
movzx eax, word [0x100811d8]
movzx ecx, word [ebp - 0x1c]
lea edx, [ecx + eax - 0xc3ce]
mov word [ebp - 0x1c], dx
mov al, byte [ebp - 0x13]
add al, 1
mov byte [ebp - 0x13], al
imul ecx, dword [ebp - 0x258], 0xa1
cmp dword [ebp - 0x25c], ecx
je 0x1003aae3
movzx edx, word [0x10081158]
sub edx, dword [0x10081138]
movzx eax, word [0x10081158]
imul eax, edx
mov word [0x10081158], ax
movsx ecx, word [0x100811e0]
imul edx, ecx, 0xc8
movsx eax, word [ebp - 0x28]
sub eax, edx
mov word [ebp - 0x28], ax
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x450], edx
movzx eax, word [ebp - 0x44]
cdq
sub eax, ecx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0xb4], 0x147
jmp 0x1003a75a
mov eax, dword [ebp - 0xb4]
sub eax, 1
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0xb4], 0
jle 0x1003a7a8
mov ecx, dword [ebp - 0x48]
sub ecx, 0x561a
mov word [ebp - 0x1c], cx
mov edx, dword [ebp - 0x78]
add edx, 1
mov eax, dword [ebp - 0x74]
adc eax, 0
mov dword [ebp - 0x78], edx
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x454], edx
xor ecx, 0x44
mov eax, dword [0x1008110c]
xor eax, ecx
mov dword [0x1008110c], eax
mov cl, byte [ebp - 0x11]
add cl, 1
mov byte [ebp - 0x11], cl
jmp 0x1003a74b
cmp dword [ebp + 8], 0
jne 0x1003aae3
jmp 0x1003a7bb
mov edx, 0x3086b61a
test edx, edx
je 0x1003a7cc
movzx eax, word [ebp - 0x44]
test eax, eax
jne 0x1003a84b
movsx ecx, word [ebp - 0x2c]
test ecx, ecx
jne 0x1003a84b
movsx edx, word [0x100811e0]
movzx eax, byte [ebp - 0x14]
cmp eax, edx
jge 0x1003a7f7
xor ecx, ecx
mov dword [ebp - 0x21c], 1
mov dword [ebp - 0x218], ecx
jmp 0x1003a802
xorps xmm0, xmm0
movlpd qword [ebp - 0x21c], xmm0
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x50]
mov ecx, dword [0x100811f0]
xor esi, esi
push eax
push edx
push esi
push ecx
call fcn.1005a880
mov dword [ebp - 0x35c], eax
mov dword [ebp - 0x358], edx
mov edx, dword [ebp - 0x358]
cmp edx, dword [ebp - 0x218]
ja 0x1003aaaf
jb 0x1003a84b
mov eax, dword [ebp - 0x35c]
cmp eax, dword [ebp - 0x21c]
ja 0x1003aaaf
push 0
push 0
push 0
push 0
call fcn.10038270
add esp, 0x10
mov word [0x10081158], ax
movzx ecx, word [0x10081158]
test ecx, ecx
je 0x1003aaad
movsx edx, byte [0x1008103b]
test edx, edx
je 0x1003a8b2
movsx eax, word [0x100811e0]
cdq
mov ecx, eax
add ecx, 0xd221f6fd
mov eax, dword [0x10081128]
mov edx, dword [0x1008112c]
call fcn.1005a8e0
mov dword [0x10081128], eax
mov dword [0x1008112c], edx
mov dword [ebp - 0x4c], 0x1731902d
jmp 0x1003aaad
mov edx, dword [0x100811d0]
mov eax, dword [0x100811d4]
not edx
not eax
mov dword [ebp - 0x364], edx
mov dword [ebp - 0x360], eax
mov ecx, dword [ebp - 0x364]
or ecx, dword [ebp - 0x360]
je 0x1003a982
mov edx, dword [0x10081118]
not edx
mov eax, dword [0x1008111c]
not eax
mov ecx, dword [0x10081188]
mov esi, dword [0x1008118c]
sub ecx, dword [0x10081118]
sbb esi, dword [0x1008111c]
sub ecx, edx
sbb esi, eax
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], esi
mov ecx, dword [0x100810f8]
not ecx
mov esi, dword [0x100810fc]
not esi
movzx eax, byte [0x1008104f]
cdq
xor eax, ecx
xor edx, esi
mov dword [ebp - 0x36c], eax
mov dword [ebp - 0x368], edx
mov edx, dword [ebp - 0x36c]
or edx, dword [ebp - 0x368]
jne 0x1003a95a
xor eax, eax
mov dword [ebp - 0x224], 1
mov dword [ebp - 0x220], eax
jmp 0x1003a965
xorps xmm0, xmm0
movlpd qword [ebp - 0x224], xmm0
mov ecx, dword [ebp - 0x224]
mov edx, dword [ebp - 0x220]
mov dword [0x10081130], ecx
mov dword [0x10081134], edx
jmp 0x1003aaad
movzx eax, word [0x100811a8]
test eax, eax
jne 0x1003a999
mov dword [ebp - 0x140], 1
jmp 0x1003a9a3
mov dword [ebp - 0x140], 0
movzx ecx, word [ebp - 0x1c]
cmp ecx, dword [ebp - 0x140]
jl 0x1003a9bb
mov dword [ebp - 0x144], 1
jmp 0x1003a9c5
mov dword [ebp - 0x144], 0
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x50]
not edx
not eax
mov dword [ebp - 0x374], edx
mov dword [ebp - 0x370], eax
mov ecx, dword [ebp - 0x374]
or ecx, dword [ebp - 0x370]
jne 0x1003a9fb
cmp dword [ebp - 0x34], 0
jne 0x1003a9fb
mov dword [ebp - 0x148], 0
jmp 0x1003aa05
mov dword [ebp - 0x148], 1
mov edx, dword [ebp - 0x144]
not edx
cmp edx, dword [ebp - 0x148]
je 0x1003aa7c
movsx eax, word [0x100811dc]
not eax
cdq
mov ecx, eax
mov esi, edx
sub ecx, dword [0x10081118]
sbb esi, dword [0x1008111c]
movzx edx, byte [0x10081027]
not edx
movzx eax, word [ebp - 0x24]
or eax, edx
cdq
push esi
push ecx
push edx
push eax
call fcn.1005a880
not eax
not edx
mov dword [0x100811d0], eax
mov dword [0x100811d4], edx
xor eax, eax
mov dword [0x10081150], 4
mov dword [0x10081154], eax
mov ecx, dword [0x100811c8]
add ecx, 0x533e
mov byte [0x1008108a], cl
jmp 0x1003aaad
movsx edx, byte [0x1008108b]
test edx, edx
je 0x1003aaad
movsx eax, word [0x100811dc]
cdq
push 0x9873d
push 0x3dd67b16
push edx
push eax
call fcn.1005a880
mov word [ebp - 0x1c], ax
movzx ax, byte [ebp - 0x1d]
mov word [ebp - 0x2c], ax
jmp 0x1003aadc
movzx ecx, word [ebp - 0x24]
movzx edx, byte [0x10081063]
add edx, ecx
mov byte [0x10081063], dl
mov eax, dword [0x10081108]
mov word [ebp - 0x1c], ax
movzx ecx, byte [ebp - 0x14]
imul edx, ecx, 0xc62d
mov word [0x1008115c], dx
xor eax, eax
jmp 0x1003ba4c
movzx eax, word [0x100811d8]
push eax
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
mov byte [ebp - 0x14], al
call fcn.1002c4c0
movzx ecx, al
test ecx, ecx
jne 0x1003ab54
movzx eax, byte [ebp - 0x15]
and eax, 0xad15
cdq
mov dword [0x10081168], eax
mov dword [0x1008116c], edx
movzx edx, byte [ebp - 0x15]
movsx eax, word [ebp - 0x28]
sub eax, edx
movsx ecx, word [ebp - 0x28]
add ecx, eax
mov word [ebp - 0x28], cx
movzx edx, word [ebp - 0x30]
add edx, 0x5214
mov word [ebp - 0x44], dx
movzx eax, byte [ebp - 0x11]
sub eax, dword [0x10081138]
movzx ecx, byte [ebp - 0x11]
or ecx, eax
mov byte [ebp - 0x11], cl
mov eax, 1
jmp 0x1003ba4c
mov edx, dword [ebp - 0x48]
push edx
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
xor ecx, ecx
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], ecx
mov edx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x37c], edx
mov dword [ebp - 0x378], eax
cmp dword [ebp - 0x378], 0
ja 0x1003ab8a
cmp dword [ebp - 0x37c], 0
jb 0x1003ab96
mov dword [ebp - 0x14c], 1
jmp 0x1003aba0
mov dword [ebp - 0x14c], 0
mov ecx, dword [ebp - 0x70]
mov edx, dword [ebp - 0x6c]
mov dword [ebp - 0x384], ecx
mov dword [ebp - 0x380], edx
cmp dword [ebp - 0x380], 0
ja 0x1003abc4
cmp dword [ebp - 0x384], 0x22
jb 0x1003abd0
mov dword [ebp - 0x150], 1
jmp 0x1003abda
mov dword [ebp - 0x150], 0
mov eax, dword [ebp - 0x14c]
cmp eax, dword [ebp - 0x150]
je 0x1003ac19
mov ecx, dword [0x100811a4]
mov edx, 8
imul eax, edx, 0x55ba
add ecx, dword [eax + 0x10122578]
mov dword [0x100811a4], ecx
movsx ecx, word [0x10081140]
imul eax, ecx, 0xeb02
cdq
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], edx
call fcn.100127a0
movzx edx, al
test edx, edx
jne 0x1003b115
movzx eax, byte [ebp - 0x15]
cdq
sub eax, 0x4ac7f88c
sbb edx, 0x6216
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], edx
movsx eax, byte [str.Failedtogetdatabas]
add eax, 0x635c489e
mov word [ebp - 0x30], ax
movsx eax, word [ebp - 0x2c]
cdq
mov ecx, dword [ebp - 0x5c]
mov esi, dword [ebp - 0x58]
add ecx, eax
adc esi, edx
mov edx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x58]
sub edx, ecx
sbb eax, esi
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x58], eax
mov dword [0x10081114], 2
mov ecx, dword [ebp - 0x34]
shr ecx, 1
mov byte [ebp - 0x1d], cl
movzx edx, word [ebp - 0x1c]
add edx, 0x24b8
mov dword [ebp - 0x34], edx
mov eax, dword [0x10081114]
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 0
je 0x1003acb8
cmp dword [ebp - 0xb8], 1
je 0x1003ad0d
cmp dword [ebp - 0xb8], 2
je 0x1003ad2b
jmp 0x1003ada0
xor ecx, ecx
mov dword [0x10081118], 8
mov dword [0x1008111c], ecx
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x50]
sub edx, 0x9aa0
sbb eax, 0
mov ecx, dword [0x10081178]
mov esi, dword [0x1008117c]
sub ecx, edx
sbb esi, eax
mov dword [0x10081178], ecx
mov dword [0x1008117c], esi
movsx eax, byte [0x100810b2]
cdq
sub eax, dword [0x10081190]
mov byte [0x100810b2], al
jmp 0x1003ada0
mov dl, byte [0x10081cb8]
mov byte [0x1008108a], dl
imul eax, dword [ebp - 0x34], 0x6acd
movsx ecx, byte [ebp - 0x12]
add ecx, eax
mov byte [ebp - 0x12], cl
jmp 0x1003ada0
movzx edx, word [ebp - 0x24]
test edx, edx
je 0x1003ad42
movsx eax, byte [0x100810b2]
mov dword [ebp - 0x154], eax
jmp 0x1003ad4c
movzx ecx, byte [ebp - 0x11]
mov dword [ebp - 0x154], ecx
mov dx, word [ebp - 0x154]
mov word [0x10081110], dx
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x38c], eax
mov dword [ebp - 0x388], ecx
mov edx, dword [ebp - 0x38c]
or edx, dword [ebp - 0x388]
jne 0x1003ad86
mov dword [ebp - 0x158], 1
jmp 0x1003ad90
mov dword [ebp - 0x158], 0
mov eax, dword [ebp - 0x158]
add eax, 0x1e2a
mov byte [0x1008108b], al
mov ecx, dword [0x10081cb8]
mov dword [ebp - 0xc0], ecx
mov eax, dword [0x10081114]
cdq
add eax, 0xca2a878a
adc edx, 0x854a1
mov ecx, dword [ebp - 0x54]
mov esi, dword [ebp - 0x50]
push edx
push eax
push esi
push ecx
call fcn.1005a880
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], edx
movzx edx, byte [ebp - 0x11]
movsx eax, word [0x1008115c]
add eax, edx
movsx ecx, word [0x1008115c]
sub ecx, eax
mov word [0x1008115c], cx
mov edx, dword [ebp - 0xc0]
add edx, 0x62a
mov dword [ebp - 0x80], edx
movzx eax, word [0x100811a8]
movsx ecx, word [0x100811b8]
imul ecx, eax
mov edx, dword [0x1008113c]
not edx
movzx eax, byte [0x10081027]
add eax, edx
xor eax, ecx
cdq
mov dword [0x10081148], eax
mov dword [0x1008114c], edx
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x58]
add eax, dword [0x10081128]
adc ecx, dword [0x1008112c]
mov dword [0x10081128], eax
mov dword [0x1008112c], ecx
movzx edx, byte [0x1008104f]
add edx, dword [0x100811c8]
mov byte [0x1008104f], dl
mov eax, dword [ebp - 0xc0]
add eax, 0x81b
mov dword [ebp - 0x160], eax
mov ecx, dword [ebp - 0x48]
cmp ecx, dword [0x10081114]
je 0x1003aed5
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x458], edx
movsx eax, word [ebp - 0x2c]
cdq
mov esi, eax
xor esi, ecx
movsx eax, word [ebp - 0x2c]
cdq
sub eax, esi
mov word [ebp - 0x2c], ax
movzx eax, word [ebp - 0x30]
movsx ecx, word [0x100811b8]
add ecx, eax
mov word [0x100811b8], cx
mov edx, dword [ebp - 0x34]
xor eax, eax
mov ecx, dword [0x10081188]
mov esi, dword [0x1008118c]
push eax
push edx
push esi
push ecx
call fcn.1005a880
mov dword [0x10081188], eax
mov dword [0x1008118c], edx
jmp 0x1003af42
movsx edx, byte [str.Failedtogetdatabas]
cmp edx, dword [ebp - 0x34]
je 0x1003aeed
mov dword [ebp - 0x15c], 1
jmp 0x1003aef7
mov dword [ebp - 0x15c], 0
movsx eax, byte [ebp - 0x13]
mov ecx, dword [ebp - 0x15c]
sub ecx, eax
je 0x1003af42
push 0x3e2af
push 0xe9381227
mov edx, dword [0x1008111c]
push edx
mov eax, dword [0x10081118]
push eax
call fcn.1005a880
mov dword [0x100810f8], eax
mov dword [0x100810fc], edx
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x45c], edx
movzx eax, byte [ebp - 0x11]
cdq
sub eax, ecx
mov byte [ebp - 0x11], al
mov eax, dword [ebp - 0xc0]
add eax, 0x85e
mov dword [ebp - 0x460], eax
mov ecx, dword [ebp - 0x78]
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
mov word [ebp - 0x28], ax
mov edx, dword [ebp - 0x160]
sub edx, dword [ebp - 0x160]
xor edx, dword [ebp - 0x80]
mov eax, dword [ebp - 0x80]
imul eax, dword [ebp - 0x80]
sub eax, dword [ebp - 0x80]
cmp eax, edx
je 0x1003b115
movsx ecx, word [0x100811a0]
add ecx, 0x4c0d9018
mov word [0x10081184], cx
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x464], eax
sub edx, 0x9552
mov dword [ebp - 0x60], edx
mov ecx, dword [0x10081cb8]
xor edx, edx
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x58], edx
push 0xb6
push 0xd2
push 0xc4
movzx eax, byte [0x10081063]
push eax
call fcn.100354e0
add esp, 0x10
movzx eax, al
cdq
mov dword [0x10081150], eax
mov dword [0x10081154], edx
mov ecx, dword [0x10081150]
mov edx, dword [0x10081154]
mov dword [ebp - 0x394], ecx
mov dword [ebp - 0x390], edx
mov eax, dword [ebp - 0x394]
or eax, dword [ebp - 0x390]
jne 0x1003b019
mov dword [ebp - 0x164], 1
jmp 0x1003b023
mov dword [ebp - 0x164], 0
mov ecx, dword [0x10081150]
mov edx, dword [0x10081154]
mov dword [ebp - 0x39c], ecx
mov dword [ebp - 0x398], edx
cmp dword [ebp - 0x39c], 0x17
jne 0x1003b059
cmp dword [ebp - 0x398], 0
jne 0x1003b059
mov dword [ebp - 0x168], 1
jmp 0x1003b063
mov dword [ebp - 0x168], 0
mov eax, dword [ebp - 0x164]
cmp eax, dword [ebp - 0x168]
jne 0x1003b0cd
xorps xmm0, xmm0
movlpd qword [ebp - 0x68], xmm0
mov ecx, dword [0x100811f0]
add ecx, dword [ebp - 0x34]
xor edx, edx
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x64], edx
mov ecx, dword [ebp - 0x40]
mov esi, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x38]
cdq
push esi
push ecx
push edx
push eax
call fcn.1005a880
mov dword [ebp - 0x38], eax
mov edx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x3a4], edx
mov dword [ebp - 0x3a0], eax
mov ecx, dword [ebp - 0x3a4]
or ecx, dword [ebp - 0x3a0]
je 0x1003b0c2
jmp 0x1003b0cb
mov dl, byte [ebp - 0x11]
sub dl, 1
mov byte [ebp - 0x11], dl
jmp 0x1003b10b
movsx eax, byte [ebp - 0x12]
mov ecx, dword [ebp - 0x38]
add ecx, eax
mov edx, dword [ebp - 0x38]
add edx, ecx
mov dword [ebp - 0x38], edx
imul eax, dword [ebp - 0x60], 0x66
mov ecx, dword [ebp - 0x38]
add ecx, eax
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x48]
xor eax, eax
push 0x35ed9
push 0x8b5f04e4
push eax
push edx
call fcn.1005a880
mov dword [0x100811e8], eax
mov dword [0x100811ec], edx
mov eax, 1
jmp 0x1003ba4c
mov ecx, dword [0x10081168]
mov edx, dword [0x1008116c]
add ecx, 0xf82f54cc
adc edx, 0x28c9a
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], edx
mov eax, 0x9e
mov word [ebp - 0x24], ax
mov ecx, dword [ebp - 0x260]
sub ecx, 0x39
cmp ecx, 0x3a2
je 0x1003b707
mov edx, dword [ebp - 0x48]
sub edx, 0x8fab
movzx eax, word [ebp - 0x1c]
imul eax, edx
mov word [ebp - 0x1c], ax
mov ecx, dword [0x1008113c]
sub ecx, 1
mov dword [0x1008113c], ecx
movzx edx, byte [ebp - 0x14]
test edx, edx
jne 0x1003b193
movsx eax, byte [str.Failedtogetdatabas]
test eax, eax
jne 0x1003b193
mov dword [ebp - 0x16c], 0
jmp 0x1003b19d
mov dword [ebp - 0x16c], 1
movzx ecx, word [ebp - 0x24]
cmp dword [ebp - 0x16c], ecx
jle 0x1003b261
movzx edx, byte [ebp - 0x14]
mov eax, dword [0x1008110c]
add eax, edx
mov dword [0x1008110c], eax
cmp dword [ebp - 0x4c], 0
jne 0x1003b1cf
mov dword [ebp - 0x170], 1
jmp 0x1003b1d9
mov dword [ebp - 0x170], 0
movsx eax, byte [0x100810b2]
cdq
mov ecx, dword [ebp - 0x50]
mov esi, dword [0x10081148]
mov edi, dword [0x1008114c]
sub esi, dword [ebp - 0x54]
sbb edi, ecx
xor esi, eax
xor edi, edx
imul edx, dword [ebp - 0x34], 0xf
mov eax, dword [ebp - 0x170]
sub eax, dword [0x1008110c]
add eax, edx
xor ecx, ecx
add eax, esi
adc ecx, edi
mov dword [ebp - 0x3ac], eax
mov dword [ebp - 0x3a8], ecx
mov edx, dword [ebp - 0x3ac]
or edx, dword [ebp - 0x3a8]
jne 0x1003b23f
xor eax, eax
mov dword [ebp - 0x22c], 1
mov dword [ebp - 0x228], eax
jmp 0x1003b24a
xorps xmm0, xmm0
movlpd qword [ebp - 0x22c], xmm0
mov ecx, dword [ebp - 0x22c]
mov edx, dword [ebp - 0x228]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], edx
jmp 0x1003b2e8
movsx eax, word [ebp - 0x28]
test eax, eax
jne 0x1003b275
mov dword [ebp - 0x174], 1
jmp 0x1003b27f
mov dword [ebp - 0x174], 0
movsx ecx, byte [0x1008103b]
cmp dword [ebp - 0x174], ecx
jl 0x1003b29a
mov dword [ebp - 0x178], 1
jmp 0x1003b2a4
mov dword [ebp - 0x178], 0
mov edx, dword [ebp - 0x178]
not edx
test edx, edx
je 0x1003b2e8
mov eax, 0x6f9f
mov word [0x100811dc], ax
movsx ecx, word [0x1008115c]
imul edx, ecx, 0x2c574189
mov dword [0x100811c8], edx
mov eax, dword [0x10081150]
mov ecx, dword [0x10081154]
mov dword [ebp - 0x47c], ecx
xor eax, 0xf72f8240
mov word [ebp - 0x24], ax
call fcn.1002a930
test eax, eax
jne 0x1003b2fe
call fcn.100235b0
test eax, eax
je 0x1003b707
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessorNumber]
xor edx, edx
mov dword [0x10081178], eax
mov dword [0x1008117c], edx
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x3c]
xor eax, 0x5433
xor ecx, 0
mov edx, dword [0x10081130]
mov esi, dword [0x10081134]
add edx, eax
adc esi, ecx
mov dword [0x10081130], edx
mov dword [0x10081134], esi
movsx eax, word [0x100811b8]
cdq
mov ecx, eax
sub ecx, 0xed8daa41
movzx eax, byte [ebp - 0x11]
cdq
add eax, ecx
mov byte [ebp - 0x11], al
mov edx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x46c], eax
mov byte [ebp - 0x12], dl
mov ecx, dword [ebp - 0x264]
xor ecx, dword [ebp - 0x17c]
sub ecx, 0x2b4
cmp ecx, dword [ebp - 0x17c]
je 0x1003b54a
mov dx, word [0x1008115c]
add dx, 1
mov word [0x1008115c], dx
jmp 0x1003b3a0
jmp 0x1003b3bb
jmp 0x1003b3db
jmp 0x1003b400
call fcn.1001b5d0
test eax, eax
je 0x1003b54a
mov eax, dword [ebp - 0x4c]
sub eax, 0xb7db
mov word [ebp - 0x30], ax
mov byte [ebp - 0x12], 0x36
movzx ecx, byte [0x1008104f]
test ecx, ecx
jne 0x1003b434
mov dword [ebp - 0x180], 1
jmp 0x1003b43e
mov dword [ebp - 0x180], 0
mov ecx, dword [ebp - 0x180]
add ecx, dword [ebp - 0x34]
not ecx
mov esi, dword [ebp - 0x40]
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x470], edx
not esi
mov eax, dword [0x1008113c]
cdq
sub eax, esi
add eax, ecx
not eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x8c], 0x2c4
jmp 0x1003b481
mov eax, dword [ebp - 0x8c]
sub eax, 1
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0
jle 0x1003b543
mov ecx, dword [ebp - 0x78]
or ecx, dword [ebp - 0x74]
je 0x1003b4a8
movzx edx, byte [ebp - 0x11]
movsx eax, byte [ebp - 0x13]
add eax, edx
mov byte [ebp - 0x13], al
jmp 0x1003b52c
movsx ecx, word [ebp - 0x2c]
cmp dword [0x10081170], ecx
ja 0x1003b500
mov edx, dword [0x10081cb8]
xor eax, eax
mov dword [0x10081160], edx
mov dword [0x10081164], eax
mov eax, dword [ebp - 0x70]
mov edx, dword [ebp - 0x6c]
mov cl, 1
call fcn.1005a8c0
mov word [0x100811a0], ax
movsx eax, word [0x1008115c]
and eax, 0xf9
cdq
or eax, dword [0x10081120]
or edx, dword [0x10081124]
mov dword [0x10081120], eax
mov dword [0x10081124], edx
jmp 0x1003b52c
movsx ecx, word [0x10081180]
test ecx, ecx
jne 0x1003b52c
movzx edx, word [0x10081158]
add edx, dword [ebp - 0x4c]
movzx eax, word [0x10081158]
add eax, edx
mov word [0x10081158], ax
mov cx, word [ebp - 0x34]
mov word [ebp - 0x28], cx
mov dx, word [0x1008115c]
add dx, 1
mov word [0x1008115c], dx
jmp 0x1003b472
xor eax, eax
jmp 0x1003ba4c
push 0
push 4
movzx eax, byte [0x10081027]
cdq
push edx
push eax
push 0
push 0xbb
movsx eax, byte [0x1008103b]
cdq
push edx
push eax
call fcn.10037680
add esp, 0x20
mov byte [ebp - 0x14], al
movzx eax, byte [ebp - 0x14]
test eax, eax
jl 0x1003b588
mov dword [ebp - 0x184], 1
jmp 0x1003b592
mov dword [ebp - 0x184], 0
movzx ecx, byte [ebp - 0x14]
cmp ecx, 0x14
jl 0x1003b5a7
mov dword [ebp - 0x188], 1
jmp 0x1003b5b1
mov dword [ebp - 0x188], 0
mov edx, dword [ebp - 0x184]
cmp edx, dword [ebp - 0x188]
jg 0x1003b5e7
mov eax, dword [ebp - 0x4c]
sub eax, 0x275e9a68
xor ecx, ecx
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], ecx
movsx eax, byte [ebp - 0x13]
cdq
xor eax, 0x933d8f98
mov dword [0x100811f0], eax
mov byte [ebp - 0x15], 8
jmp 0x1003b6fd
mov edx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x3b4], edx
mov dword [ebp - 0x3b0], eax
mov ecx, dword [ebp - 0x3b4]
or ecx, dword [ebp - 0x3b0]
jne 0x1003b613
mov dword [ebp - 0x18c], 1
jmp 0x1003b61d
mov dword [ebp - 0x18c], 0
mov edx, dword [0x100811b0]
mov eax, dword [0x100811b4]
not edx
not eax
mov ecx, dword [0x10081170]
xor esi, esi
mov dword [ebp - 0x3bc], ecx
mov dword [ebp - 0x3b8], esi
mov dword [ebp - 0x3c4], edx
mov dword [ebp - 0x3c0], eax
mov edx, dword [ebp - 0x3bc]
cmp edx, dword [ebp - 0x3c4]
jne 0x1003b668
mov eax, dword [ebp - 0x3b8]
cmp eax, dword [ebp - 0x3c0]
je 0x1003b674
mov dword [ebp - 0x190], 1
jmp 0x1003b67e
mov dword [ebp - 0x190], 0
mov ecx, dword [ebp - 0x18c]
cmp ecx, dword [ebp - 0x190]
jle 0x1003b6fd
movzx edx, word [ebp - 0x24]
sub edx, dword [ebp - 0x60]
movzx eax, word [ebp - 0x24]
add eax, edx
mov word [ebp - 0x24], ax
mov ecx, dword [0x100811a4]
xor ecx, 0xce00bd52
add ecx, dword [ebp - 0x38]
xor esi, esi
movsx edx, word [0x10081140]
movzx eax, byte [ebp - 0x14]
and eax, edx
cdq
mov edi, eax
mov ebx, edx
movsx eax, word [0x100811e0]
not eax
cdq
mov dword [ebp - 0x234], ecx
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x230], esi
mov esi, dword [ebp - 0x50]
add ecx, eax
adc esi, edx
xor ecx, edi
xor esi, ebx
mov edi, dword [ebp - 0x230]
push edi
mov edi, dword [ebp - 0x234]
push edi
push esi
push ecx
call fcn.1005a880
mov word [ebp - 0x30], ax
mov eax, 1
jmp 0x1003ba4c
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x1003b74d
mov ecx, dword [str.5U_]
mov edx, dword [0x100811c4]
mov dword [ebp - 0x3cc], ecx
mov dword [ebp - 0x3c8], edx
mov eax, dword [ebp - 0x3cc]
or eax, dword [ebp - 0x3c8]
je 0x1003b748
movzx ecx, byte [0x1008108a]
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
mov dword [0x10081114], eax
jmp 0x1003b8b0
movsx edx, byte [0x1008103b]
cmp dword [ebp - 0x4c], edx
jb 0x1003b765
mov dword [ebp - 0x194], 1
jmp 0x1003b76f
mov dword [ebp - 0x194], 0
movsx eax, word [0x100811e0]
cdq
add eax, dword [0x10081100]
adc edx, dword [0x10081104]
mov dword [ebp - 0x3d4], eax
mov dword [ebp - 0x3d0], edx
mov eax, dword [ebp - 0x3d4]
or eax, dword [ebp - 0x3d0]
jne 0x1003b7a9
mov dword [ebp - 0x198], 1
jmp 0x1003b7b3
mov dword [ebp - 0x198], 0
mov ecx, dword [ebp - 0x194]
not ecx
cmp ecx, dword [ebp - 0x198]
jg 0x1003b81a
movzx edx, word [0x100811a8]
movsx eax, word [0x100811dc]
imul eax, edx
mov word [0x100811dc], ax
mov eax, dword [0x10081114]
cdq
and eax, dword [0x10081190]
and edx, dword [0x10081194]
add eax, dword [0x10081190]
adc edx, dword [0x10081194]
mov dword [0x10081190], eax
mov dword [0x10081194], edx
mov ecx, dword [0x10081120]
sub ecx, 0x3da7
mov dword [0x10081138], ecx
jmp 0x1003b8b0
movsx edx, word [0x100811b8]
test edx, edx
je 0x1003b8b0
mov eax, dword [0x10081114]
cdq
mov ecx, dword [ebp - 0x4c]
not ecx
xor esi, esi
mov edi, dword [ebp - 0x40]
mov ebx, dword [ebp - 0x3c]
add edi, ecx
adc ebx, esi
add edi, eax
adc ebx, edx
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x50], ebx
movzx edx, byte [0x10081027]
test edx, edx
jne 0x1003b861
mov dword [ebp - 0x19c], 1
jmp 0x1003b86b
mov dword [ebp - 0x19c], 0
movsx eax, word [0x100811dc]
movsx ecx, word [0x10081110]
mov edx, dword [ebp - 0x19c]
sub edx, ecx
sub edx, eax
mov eax, edx
cdq
mov ecx, eax
movzx eax, word [ebp - 0x1c]
cdq
mov esi, eax
add esi, 0x68a7b738
movsx eax, byte [str.Failedtogetdatabas]
cdq
sub eax, esi
xor eax, ecx
mov word [ebp - 0x44], ax
mov dx, word [0x10081cb8]
mov word [ebp - 0x28], dx
imul eax, dword [ebp - 0x90], 0x37f
and eax, dword [ebp - 0x90]
mov ecx, 0x285
sub ecx, dword [ebp - 0x238]
mov edx, dword [ebp - 0x90]
sub edx, dword [ebp - 0x23c]
sub edx, ecx
cmp edx, eax
je 0x1003ba04
mov eax, dword [0x10081170]
sub eax, 0x6110b4c7
mov dword [0x1008110c], eax
mov ecx, dword [ebp - 0x38]
sub ecx, 0x421e16c2
mov word [ebp - 0x28], cx
movzx edx, byte [ebp - 0x11]
add edx, 0x27f0a639
mov byte [ebp - 0x12], dl
mov eax, dword [0x10081108]
cdq
mov ecx, dword [0x100811b0]
mov esi, dword [0x100811b4]
sub ecx, eax
sbb esi, edx
mov edx, dword [0x100811b0]
mov eax, dword [0x100811b4]
and edx, ecx
and eax, esi
mov dword [0x100811b0], edx
mov dword [0x100811b4], eax
call fcn.1001b5d0
test eax, eax
je 0x1003ba04
jmp 0x1003b958
jmp 0x1003b97d
jmp 0x1003b993
jmp 0x1003b99a
jmp 0x1003b9d3
movsx ecx, word [ebp - 0x28]
sar ecx, 3
mov byte [ebp - 0x11], cl
mov edx, dword [0x10081cb8]
xor eax, eax
mov dword [0x100811b0], edx
mov dword [0x100811b4], eax
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x474], edx
mov word [ebp - 0x24], cx
xor eax, eax
jmp 0x1003ba4c
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x1003ba17
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x1a0], ecx
jmp 0x1003ba21
movsx edx, word [ebp - 0x2c]
mov dword [ebp - 0x1a0], edx
mov ax, word [ebp - 0x1a0]
mov word [0x100811e0], ax
mov ecx, dword [0x10081198]
sub ecx, 0x77
mov byte [0x10081027], cl
mov dword [0x100811a4], 0xa0353d7b
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8