Function at 0x402f30
Capabilities:
Authenticate hmac
Get disk information
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push ebx
mov ebx, dword [ebp + 8]
mov eax, ebx
xor edx, edx
div ebx
push esi
lea eax, [ebx + 0x4ed]
push edi
mov esi, edx
mov dword [ebp - 0x5c], edx
sub esi, ebx
and esi, eax
mov eax, 0x195
and esi, 0xffff
mov ecx, esi
imul ecx, ebx
xor ecx, edx
xor edx, edx
div esi
xor ecx, 0x274
mov edi, edx
and edi, 0x280
cmp ebx, 0x16
jae 0x402f95
lea eax, [ecx*8]
sub eax, ecx
lea edx, [eax + eax*2]
lea ecx, [ecx + edx*8]
xor edx, edx
lea eax, [ecx + ecx*4]
div ebx
imul edi, eax
jmp 0x40300c
cmp ebx, 0x56
jne 0x402fcb
mov eax, edi
xor edx, edx
and eax, 0xffff
mov edi, 0xfe3f
div ecx
mov eax, 0x2fa0be83
lea ecx, [edx + edx*2]
shl ecx, 7
sub ecx, edx
shl ecx, 1
mul ecx
shr edx, 4
sub edi, edx
and edi, 0x2fa
jmp 0x403080
cmp ebx, 0xe7aa
jne 0x402fdd
mov eax, 0x441bb0
mov dword [ebp - 4], eax
jmp 0x403014
cmp ebx, 0x47
je 0x40300c
cmp ebx, 0x62
jb 0x40300c
cmp ebx, 0xa
jae 0x40300c
and edi, 0xffff
lea eax, [edi + edi*2]
shl eax, 3
sub eax, edi
lea edx, [eax + eax*2]
lea eax, [edi + edx*4]
xor edx, edx
div edi
or edx, 0x1ff
mov edi, edx
cmp ebx, 0xe7aa
jne 0x40306b
mov ecx, edi
mov esi, 0xe7aa
and ecx, 0xffff
lea eax, [ecx + ecx*2]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*2]
lea edx, [eax + eax*2]
lea eax, [ecx + edx*2]
sub esi, eax
mov eax, 0x1ae47395
mul ecx
sub ecx, edx
shr ecx, 1
add ecx, edx
shr ecx, 0xf
lea edx, [ecx + ecx*2]
shl edx, 6
add edx, ecx
lea eax, [ecx + edx*4]
lea ecx, [ecx + eax*2]
mov eax, dword [ebp - 4]
lea edx, [ecx*8 - 0x180]
xor esi, edx
lea ecx, [eax + esi - 0xcf9a]
mov dword [ebp - 4], ecx
jmp 0x403080
cmp ebx, 0x53
jne 0x403080
mov eax, edi
and eax, 0xffff
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
mov eax, dword [ebp - 4]
mov esi, edi
and esi, 0xffff
mov dword [ebp - 0x14], eax
sub esi, 0x962d552
cmp esi, 0x26
jae 0x4030a7
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetProfileIntW]
jmp 0x403137
cmp esi, 0xf69d2b2e
jne 0x4030e4
cmp di, 0x80
jne 0x4030bd
mov edx, dword [eax]
mov dword [ebp - 0x14], edx
jmp 0x403137
cmp di, 0x1d
jne 0x4030ce
pop edi
pop esi
mov ax, 0x2b2e
pop ebx
mov esp, ebp
pop ebp
ret
cmp di, 0x16
jae 0x403137
lea edi, [ebx + ebx*4]
shl edi, 3
sub edi, ebx
sub edi, 0x1ba
jmp 0x403137
cmp esi, 0x41
jae 0x4030f7
lea edi, [ebx + 0x2df]
or edi, 0x23f
jmp 0x403137
cmp esi, 0x15
jae 0x40310f
mov eax, ebx
xor edx, edx
mov ecx, 0xea
div ecx
mov edi, edx
and edi, esi
xor edi, ebx
jmp 0x403137
cmp esi, 0x35
jne 0x403137
mov eax, 0x540e
xor edx, edx
div ebx
mov edx, eax
mov eax, 0x9b4c6f9f
mul edx
shr edx, 8
mov eax, 0x3ac
mov esi, edx
sub eax, ebx
and esi, eax
or esi, 0x35
lea ecx, [ebx + esi]
lea edx, [esi - 0x3b9]
add ecx, edi
xor ecx, edx
cmp ebx, 0x21
mov dword [ebp + 8], ecx
jae 0x403153
xor ecx, ecx
mov dword [ebp + 8], ecx
jmp 0x4031a8
cmp ebx, 0x3e
jne 0x403172
lea eax, [esi + esi*2]
lea edx, [esi + eax*4]
shl edx, 3
sub edx, esi
shl edx, 1
or edx, 0x1ad
and ecx, edx
mov dword [ebp + 8], ecx
jmp 0x4031a8
cmp ebx, 0x34
jae 0x403183
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalDeleteAtom]
mov ecx, dword [ebp + 8]
jmp 0x4031a8
cmp ebx, 0xe7aa
jne 0x4031a8
mov eax, ecx
mov edx, dword [ebp - 0x14]
and eax, 0xffff
imul eax, eax, 0xe7aa
xor eax, 0x40
lea eax, [eax + edx - 0x2f374036]
mov dword [ebp - 0x64], eax
mov edx, dword [ebp - 0x14]
cmp esi, 0x3a
mov dword [ebp - 0x60], edx
jae 0x4031bd
mov ax, si
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, 0xf69d2b2e
jne 0x4031e2
cmp ebx, 0x14
jae 0x4031d1
mov esi, 0x6a
jmp 0x403217
cmp ebx, 0xe7aa
jne 0x403217
mov dword [ebp - 0x38], 0x23768
jmp 0x403236
cmp esi, 0x5c
ja 0x403217
mov edi, ecx
mov eax, 0xc1
and edi, 0xffff
xor edx, edx
div edi
xor edx, edx
mov edi, 0x159
div ebx
mov eax, edx
xor edx, edx
div esi
xor edx, edx
mov esi, eax
mov eax, ebx
div edi
xor edx, 0x2d6
or esi, edx
cmp ebx, 0x3c
jae 0x403226
lea eax, [ebx - 0x234]
or esi, eax
jmp 0x40328b
cmp ebx, 0xe7aa
jne 0x40327c
cmp esi, 0xf69d2b2e
jne 0x403240
mov eax, 0x43fb1a
mov dword [ebp - 4], eax
jmp 0x40328b
cmp esi, 0x64
jne 0x40328b
mov eax, ecx
add ecx, 0xffffe7aa
and eax, 0xffff
mov edx, eax
shl edx, 6
add edx, eax
lea eax, [eax + edx*4]
lea edi, [eax + eax*2]
mov eax, 0x52aff56b
mul edi
sub edi, edx
shr edi, 1
add edi, edx
shr edi, 8
and edi, 0x88
xor ecx, edi
mov dword [ebp + 8], ecx
jmp 0x40328b
cmp ebx, 0x48
jae 0x40328b
mov eax, esi
xor edx, edx
div esi
or al, 0x22
mov esi, eax
mov edx, dword [ebp - 4]
mov edi, ecx
and edi, 0xffff
imul esi, ebx
lea eax, [edi + edi + 0x2d]
or esi, 0x2bb
or al, 7
lea eax, [edx + eax - 0x573f]
xor edx, edx
mov dword [ebp - 4], eax
mov eax, edi
sub eax, esi
sub eax, 0x1e2
mov dword [ebp - 0x34], eax
mov eax, edi
mov esi, dword [ebp - 0x34]
div esi
lea eax, [esi*8]
sub eax, esi
lea eax, [esi + eax*4]
lea eax, [eax + eax*2]
lea eax, [esi + eax*8 - 0xe1]
and edx, eax
cmp ebx, 0x29
jae 0x4032eb
pop edi
pop esi
mov ax, cx
pop ebx
mov esp, ebp
pop ebp
ret
cmp ebx, 0x63
jb 0x403312
cmp ebx, 0xe7aa
jne 0x403312
mov eax, dword [ebp - 4]
lea edx, [edi + edx + 0x4e9]
and edx, 0x1cf54
mov edx, dword [eax + edx*4 - 0x13450]
mov dword [ebp - 0x54], edx
lea eax, [edi + edi*8]
mov esi, 0xfb
lea edx, [edi + eax*8]
lea eax, [edi + edx*4]
xor edx, edx
lea eax, [edi + eax*2]
div esi
mov esi, edx
sub esi, edi
cmp cx, 0x60
ja 0x403351
mov eax, edi
xor edx, edx
div ebx
mov eax, ecx
shl eax, 5
add eax, ecx
lea eax, [eax + eax*2]
lea ecx, [ecx + eax*8]
add edx, 0x21e
or ecx, edx
jmp 0x4033f9
cmp cx, 0x25
ja 0x403363
lea ecx, [ecx + esi + 0x2a2]
jmp 0x4033f9
cmp cx, 0x3d
jae 0x40337f
mov edx, 0xffffffba
lea eax, [ebx + 0x17]
sub edx, edi
and edx, eax
and edx, 0x15c
xor esi, edx
jmp 0x4033f9
cmp cx, 0x342d
jne 0x4033bc
lea edx, [ebx + ebx*8 + 0xbd9]
lea eax, [ebx + edx*4 + 0x151]
lea eax, [eax + eax*4]
lea eax, [ebx + eax*2 + 0x151]
lea edx, [eax + eax*8]
lea eax, [ebx + edx*4 + 0x151]
mov edx, dword [ebp - 4]
or eax, 0x283
mov eax, dword [edx + eax*4 + 0x42103588]
mov dword [ebp - 0x58], eax
jmp 0x4033f9
cmp cx, 0x1e
jne 0x4033de
lea eax, [esi + 0xabd0]
or eax, 0x384
push eax
push eax
push eax
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_LockFileEx]
mov ecx, dword [ebp + 8]
jmp 0x4033f9
cmp cx, 0xc
jne 0x4033f9
mov eax, ebx
xor edx, edx
mov ecx, 0x20e
div ecx
mov ecx, edx
sub ecx, esi
and ecx, 0x103
mov al, cl
mov dl, 0xe5
imul dl
and eax, 0x20
or eax, 0x29d
cmp ebx, 0xe7aa
mov dword [ebp + 8], eax
jne 0x403443
mov eax, esi
xor edx, edx
mov ecx, ebx
div ecx
mov eax, dword [ebp + 8]
mov ecx, 0x22c
and eax, 0xffff
sub ecx, eax
mov eax, dword [ebp - 4]
and edx, ecx
and edx, esi
xor edx, 0x276
mov ecx, dword [eax + edx*4 - 0x19cc]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x4c], ecx
mov edi, eax
and edi, 0xffff
or edi, 0x119e
cmp ax, 0x19
jne 0x40346a
mov eax, 0x7e09a
xor edx, edx
div ebx
mov edi, eax
imul edi, edi, 0x19
add edi, 0x31
jmp 0x4034e8
cmp ax, 0x29d
jne 0x4034de
cmp ebx, 0x60
jae 0x40347e
mov dword [ebp + 8], 0
jmp 0x4034e8
cmp ebx, 6
ja 0x4034a2
mov eax, 0x666
xor edx, edx
div edi
add eax, 0x29d
or eax, 0x139
push eax
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
jmp 0x4034e8
cmp ebx, 0x1e
ja 0x4034ae
mov edi, 0x16c
jmp 0x4034e8
cmp ebx, 0xe7aa
jne 0x4034c1
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x50], eax
jmp 0x4034e8
cmp ebx, 0x3c
jae 0x4034e8
lea eax, [edi + 0x29d]
or eax, edi
or al, 0x68
push eax
push eax
push eax
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_LockFileEx]
jmp 0x4034e8
cmp ax, 0x20
jb 0x403da6
mov eax, dword [ebp + 8]
xor edx, edx
and eax, 0xffff
mov esi, 0x2ff
mov ecx, eax
div esi
mov eax, dword [ebp - 0x38]
sub ecx, edi
mov dword [ebp - 0x40], eax
xor ecx, edx
cmp eax, 8
mov dword [ebp - 0x34], ecx
jle 0x403aa4
mov eax, 0x354
xor edx, edx
div ebx
mov edi, dword [ebp - 0x30]
or eax, 0x351
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
mov eax, 0x256
mov esi, ecx
xor edx, edx
and esi, 0xffff
div esi
imul eax, ecx
mov ecx, eax
mov esi, eax
xor ecx, ebx
xor esi, 0x2bf
xor ecx, 0xfee5
cmp ax, 0x52
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x10], ecx
jae 0x4035c7
test ax, ax
jne 0x40356b
mov dword [ebp - 0x1c], 0xc6ef3720
jmp 0x4035c7
cmp ax, 0x49
je 0x403da3
cmp ax, 0x39
jne 0x40359d
mov eax, ebx
and esi, 0xffff
imul eax, eax, 0x175
mov ecx, eax
or eax, esi
or ecx, esi
push ecx
push ecx
push eax
push ecx
push ecx
push ecx
call dword [sym.imp.KERNEL32.dll_SearchPathA]
jmp 0x4035c7
cmp ax, 0x57
jbe 0x4035c7
mov ecx, eax
mov eax, 0x21579805
and ecx, 0xffff
mul ecx
sub ecx, edx
shr ecx, 1
add ecx, edx
shr ecx, 9
add ecx, esi
lea ecx, [ecx + ebx - 0x146]
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x10]
mov esi, ecx
and esi, 0xffff
mov dword [ebp - 0x20], esi
add esi, 0xf6
xor esi, 0x395
cmp ax, 0x194f
jne 0x403652
cmp esi, 0x4d
je 0x403ad7
cmp esi, 0x63
ja 0x403c05
cmp esi, 0x12
jae 0x403608
mov eax, 0x1b7
jmp 0x403665
cmp esi, 0x20
jne 0x403621
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
and edx, 0xffff
mov edi, dword [ecx + edx*4]
mov dword [ebp - 0x30], edi
jmp 0x403668
cmp esi, 0x49
ja 0x403668
cmp esi, 0x3c
jne 0x403668
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
imul eax, eax
and ecx, 0xffff
xor edx, edx
div ecx
mov eax, 0x2b4
sub eax, edx
push eax
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [ebp - 0x10]
jmp 0x403668
cmp ax, 0x34
jne 0x403668
mov eax, 0x1ba
xor edx, edx
div ebx
sub eax, ecx
xor eax, ebx
mov dword [ebp - 0x10], eax
lea edx, [ebx + ebx*2]
shl edx, 3
sub edx, ebx
lea ecx, [edx + edx*8]
mov edx, dword [ebp - 0xc]
shl ecx, 1
sub ecx, ebx
add edx, 0x1ff
shl ecx, 1
xor ecx, edx
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0x24]
cmp cx, 0x2bf
jne 0x4036c1
mov ecx, eax
mov eax, ebx
and ecx, 0xffff
xor edx, edx
div ecx
lea edx, [esi + esi*4]
lea ecx, [esi + edx*2]
mov edx, dword [ebp - 0x14]
shl ecx, 6
sub ecx, esi
add ecx, 0x14e
xor eax, ecx
mov eax, dword [edx + eax*4 - 0x16498]
mov dword [ebp - 0x28], eax
jmp 0x4036d1
cmp cx, 0x4a
jae 0x4036d1
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
lea eax, [ebx + ebx]
mov dword [ebp - 0x3c], 0
xor eax, 0x9d
and eax, ebx
or al, 2
mov dword [ebp - 0x48], eax
mov al, bl
and al, 0xf6
mov byte [ebp + 0xb], al
mov ecx, dword [ebp - 0x48]
mov dl, 0x80
mov al, cl
sub dl, cl
add al, bl
mov dword [ebp - 0x2c], ecx
or al, dl
cmp al, 0xf6
mov byte [ebp - 0x18], al
jne 0x403762
mov eax, 0x4325c53f
mov edi, 0x12d
mul ebx
mov eax, edx
xor edx, edx
shr eax, 4
div ebx
xor edx, edx
mov ecx, eax
mov eax, dword [ebp - 0x2c]
and eax, 0xffff
and ecx, 0x3d
div edi
mov edi, dword [ebp - 0x30]
mov eax, edi
xor ecx, edx
mov edx, dword [ebp - 0x4c]
sub ecx, 0xd1
shl eax, cl
lea ecx, [ebx - 0xe7a5]
add eax, edx
mov edx, edi
shr edx, cl
mov ecx, dword [ebp - 0x50]
add edx, ecx
mov ecx, dword [ebp - 0x1c]
xor eax, edx
lea edx, [edi + ecx]
mov ecx, dword [ebp - 0x28]
xor eax, edx
sub ecx, eax
mov dword [ebp - 0x28], ecx
jmp 0x4037ad
cmp al, 0x49
jb 0x4037ad
cmp al, 0x3b
jae 0x403778
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_LockFileEx]
jmp 0x4037ad
cmp al, 0x52
jne 0x40378d
mov eax, ebx
xor eax, 0x4000
push eax
push eax
call dword [sym.imp.KERNEL32.dll_SetCommState]
jmp 0x4037ad
cmp al, 0x54
jae 0x4037ad
mov ecx, dword [ebp - 0x18]
mov eax, ebx
and ecx, 0xff
xor edx, edx
div ecx
xor edx, edx
div ebx
xor edx, 0x21d
mov dword [ebp - 0x2c], edx
mov al, byte [ebp + 0xb]
cmp al, 0xa2
jne 0x4037f5
cmp ebx, 0xe7aa
jne 0x4037fd
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x28]
imul ecx, ecx, 0x2692ae4
xor ecx, 0x108
mov edx, eax
sub ecx, 0xd085bdc
shl edx, cl
mov ecx, dword [ebp - 0x54]
add edx, ecx
mov ecx, eax
shr ecx, 5
add ecx, dword [ebp - 0x58]
xor edx, ecx
mov ecx, dword [ebp - 0x1c]
add eax, ecx
xor edx, eax
sub edi, edx
mov dword [ebp - 0x30], edi
jmp 0x4037fd
cmp al, 0x20
jb 0x403ae2
mov al, bl
mov dl, 0xc6
imul dl
and al, 0xdc
cmp ebx, 3
mov byte [ebp - 0x18], al
jae 0x403817
mov eax, dword [ebp - 0x18]
and eax, 0xff
jmp 0x403850
cmp ebx, 0xe7aa
jne 0x40383e
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
and eax, 0xff
lea ecx, [eax + eax*8]
shl ecx, 2
sub ecx, eax
lea eax, [edx + ecx*4 + 0x61c853f7]
mov dword [ebp - 0x1c], eax
jmp 0x403859
cmp ebx, 0x39
jae 0x403859
mov eax, dword [ebp - 0x18]
and eax, 0xff
or eax, 0x1a8
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
mov eax, dword [ebp - 0x3c]
inc eax
cmp eax, 0x20
mov dword [ebp - 0x3c], eax
jl 0x4036ee
mov ecx, dword [ebp - 8]
mov edx, ecx
shl edx, 7
mov eax, edx
mov edx, dword [ebp - 0xc]
and eax, edx
mov edx, dword [ebp - 0x10]
sub edx, dword [ebp - 0xc]
and eax, 0x1dc
or eax, edx
cmp esi, 9
mov dword [ebp - 0xc], eax
jae 0x40389f
mov eax, dword [ebp - 0x24]
lea ecx, [ecx + eax + 0x7260]
or cl, 0xb1
jmp 0x403957
cmp esi, 0x31
jne 0x4038ca
mov eax, 0x64
xor edx, edx
div ebx
mov ecx, dword [ebp - 0xc]
and ecx, 0xffff
lea esi, [eax + ecx - 0x203]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 8]
xor esi, eax
jmp 0x40395a
cmp esi, 0x20
jne 0x4038ef
mov eax, dword [ebp - 8]
xor edx, edx
and eax, 0xffff
mov ecx, 0x1c2
div ecx
mov eax, dword [ebp - 0x14]
mov dword [eax + edx*4 - 0x1bc], edi
jmp 0x4039cd
cmp esi, 0x59
jbe 0x40390b
mov eax, 2
xor edx, edx
div dword [ebp - 0x20]
mov ecx, dword [ebp - 8]
mov esi, edx
add esi, 0x1bc60
jmp 0x40395a
cmp esi, 0x32
jne 0x403936
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x20]
and ecx, 0xffff
xor edx, edx
div ecx
mov esi, dword [ebp - 8]
mov ecx, dword [ebp - 8]
and esi, 0xffff
sub esi, eax
or esi, 0x2be
jmp 0x40395a
cmp esi, 0x41
jbe 0x40395a
mov eax, dword [ebp - 0x24]
lea edx, [eax*8]
sub edx, eax
lea eax, [eax + edx*4]
lea ecx, [eax + eax*2 + 0x164]
and ecx, 0x3e4
mov dword [ebp - 8], ecx
cmp esi, 0x24
jne 0x403978
mov ecx, dword [ebp - 8]
mov eax, 0x8574f
and ecx, 0xffff
xor edx, edx
div ecx
mov esi, edx
jmp 0x403a18
cmp esi, 0x28
jne 0x403994
mov eax, dword [ebp - 8]
and eax, 0xffff
push eax
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
jmp 0x403a18
cmp esi, 0x2f
jne 0x4039a9
mov eax, ecx
imul eax, dword [ebp - 0x10]
and eax, 0x13a
mov dword [ebp - 0xc], eax
jmp 0x403a18
cmp esi, 0x14
jne 0x4039c8
mov eax, 0xb8594b41
mul ebx
mov esi, edx
shr esi, 9
add esi, 0x3be
or esi, 0xa6
jmp 0x403a18
cmp esi, 0x20
jne 0x4039fe
mov ecx, dword [ebp - 0x10]
mov eax, 0x1e
and ecx, 0xffff
xor edx, edx
div ecx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x28]
and eax, 0xffff
add edx, eax
mov eax, dword [ebp - 0x14]
or edx, 0x39c
mov dword [eax + edx*4 - 0x1ee70], ecx
jmp 0x403a18
cmp esi, 0x46
jb 0x403a18
mov eax, dword [ebp - 8]
and eax, 0xffff
xor eax, 0xc9
push eax
push eax
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeW]
mov eax, dword [ebp - 0xc]
xor edx, edx
and eax, 0xffff
mov ecx, 0xb3
div ecx
mov eax, dword [ebp - 8]
sub eax, edx
mov edx, esi
imul edx, edx, 0x75
xor eax, edx
cmp ax, 0x1e
jbe 0x403a8f
cmp ax, 0x75f8
jne 0x403a70
mov eax, esi
xor edx, edx
mov ecx, 0x165
div ecx
mov eax, dword [ebp - 0x10]
and eax, 0xffff
xor eax, 0x19b
add edx, 0x1db
xor edx, eax
mov eax, dword [ebp - 0x14]
lea ecx, [eax + edx*4 - 0x64b4]
mov dword [ebp - 0x14], ecx
jmp 0x403a8f
cmp ax, 0x5f
jae 0x403a89
and eax, 0xffff
push eax
push eax
push eax
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_SearchPathA]
jmp 0x403a8f
cmp ax, 0x48
je 0x403aed
mov eax, dword [ebp - 0x40]
sub eax, 8
cmp eax, 8
mov dword [ebp - 0x40], eax
jg 0x403525
mov ecx, dword [ebp - 0x34]
mov eax, 0x41df2b
mov dword [ebp - 4], eax
lea eax, [ecx + ecx*8]
xor edx, edx
shl eax, 5
sub eax, ecx
div ecx
mov edx, eax
mov eax, 0xd62b80d7
mul edx
shr edx, 9
mov esi, edx
and esi, ecx
cmp ebx, 0x33
ja 0x403af8
mov ax, si
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov ax, 0x4d
pop ebx
mov esp, ebp
pop ebp
ret
mov ax, word [ebp - 0x2c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ax, word [ebp - 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp ebx, 0x44
jae 0x403b22
lea eax, [ebx + 0x138]
sub esi, ecx
and eax, 0x268
xor eax, esi
xor eax, ebx
mov esi, eax
cmp ebx, 0x18
jae 0x403ba9
lea esi, [esi + esi + 0x130]
jmp 0x403b38
cmp ebx, 0x46
ja 0x403b2e
mov esi, ebx
or esi, 2
jmp 0x403b10
cmp ebx, 0x57
jne 0x403b49
mov esi, 0x1fc
cmp ecx, 0x3d
ja 0x403c0f
xor esi, 0x47
jmp 0x403ce8
cmp ebx, 2
jne 0x403b5c
mov ecx, 0x345
lea esi, [esi + esi + 0x130]
jmp 0x403b38
cmp ebx, 0xe7aa
jne 0x403b10
cmp ecx, 0x47
jae 0x403b89
and esi, 0xffff
lea eax, [esi + esi*2]
lea edx, [eax + eax*8]
lea eax, [esi + edx*8]
xor edx, edx
div ecx
xor edx, edx
mov esi, 0x67
div esi
mov esi, edx
jmp 0x403bd8
cmp ecx, 0xffffec63
jne 0x403b9a
add dword [ebp - 4], 0x1109
jmp 0x403bd8
cmp ecx, 0x61
jae 0x403bd8
pop edi
pop esi
mov ax, cx
pop ebx
mov esp, ebp
pop ebp
ret
cmp ebx, 3
jae 0x403bbd
mov esi, ecx
sub esi, ebx
xor esi, 0x2e2
jmp 0x403b38
cmp ebx, 0x22
jae 0x403bd0
xor esi, 0x4f
or esi, 0x3b0
jmp 0x403b38
cmp ebx, 0xe7aa
jne 0x403bed
mov edx, dword [ebp - 4]
mov eax, esi
and eax, 0xffff
mov eax, dword [edx + eax*4]
mov dword [ebp - 0x38], eax
jmp 0x403b38
cmp ebx, 0x11
jne 0x403bfc
mov ax, si
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp ebx, 0x13
jae 0x403b38
mov ax, si
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp ecx, 0x57
jae 0x403c30
mov eax, esi
xor edx, edx
and eax, 0xffff
mov esi, 3
div esi
mov esi, 0x8e
sub esi, edx
jmp 0x403ce8
cmp ecx, 0xffffec63
jne 0x403cc9
cmp ebx, 0x48
jae 0x403c65
mov ecx, esi
xor edx, edx
and ecx, 0xffff
lea eax, [ecx + ecx*2]
shl eax, 6
add eax, ecx
lea eax, [eax + eax*4]
div ecx
mov ecx, eax
xor ecx, 0xffb8fa7d
jmp 0x403ce8
cmp ebx, 0xe7aa
jne 0x403c99
cmp si, 0x39
jbe 0x403c7d
pop edi
mov ax, bx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test si, si
jne 0x403c8c
mov eax, 0x41e35d
mov dword [ebp - 4], eax
jmp 0x403ce8
cmp si, 0x27
jne 0x403ce8
mov esi, 0xdd4
jmp 0x403ce8
cmp ebx, 0x5c
jne 0x403ca5
mov ecx, 0xffb0c37f
jmp 0x403ce8
cmp ebx, 0x2e
ja 0x403ce8
mov edi, esi
xor edx, edx
and edi, 0xffff
mov ecx, 0x1a
mov eax, edi
div ecx
mov ecx, edx
add ecx, 0x1d
and ecx, edi
and ecx, 0x41
jmp 0x403ce8
cmp ecx, 0x59
jae 0x403ce8
mov edx, ecx
mov eax, 0x3159721f
imul edx, edx, 0xe4
mul edx
mov esi, edx
shr esi, 7
add esi, 0x3e2
lea eax, [ecx + ecx*4]
xor edx, edx
lea eax, [ecx + eax*2]
shl eax, 1
div ecx
mov eax, 0x2cf
mov ecx, dword [ebp - 0x5c]
mov edi, edx
xor edx, edx
div ebx
or edi, ecx
xor edx, edx
mov ecx, 0x35d
div ecx
mov eax, dword [ebp - 4]
or dl, 0xf7
lea ecx, [eax + edx + 0xbdc]
mov edx, edi
imul edx, edi
imul edx, edx, 0x2d95b
mov eax, 0xb02c0b03
mov dword [ebp + 8], edx
mul edi
shr edx, 8
mov edi, edx
mov edx, dword [ebp + 8]
sub edi, edx
cmp ebx, 0xe7aa
jne 0x403dad
mov eax, dword [ecx]
mov dword [ebp + 8], eax
mov eax, 0x8421085
mov ecx, edi
mul edi
sub ecx, edx
shr ecx, 1
add ecx, edx
shr ecx, 5
mov eax, ecx
sub al, 0x36
and eax, 0xe9
xor eax, edi
cmp ax, 0x8fb7
jne 0x403da3
mov eax, 0x359
xor edx, edx
div ebx
mov eax, 0x5eface49
mov ecx, dword [ebp - 0x38]
or edx, 0x8fbf
add edx, 0x1a521
push edx
mul edi
shr edx, 7
not edx
mov eax, dword [ebp + 8]
and edx, edi
sub edx, 0x263f4a14
push edx
mov edx, dword [ebp - 0x60]
push edx
push eax
push ecx
call dword [ebp - 0x64]
mov ax, bx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp ebx, 0x12
jae 0x403dc2
lea ecx, [ebx + 0x3a2]
xor edi, 0xa9
or edi, ecx
jmp 0x403d46
cmp ebx, 0x35
jae 0x403ded
mov eax, edi
xor edx, edx
mov ecx, 0x28
and esi, 0xffff
div ecx
mov eax, 0x1d0
sub eax, edx
sub eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
jmp 0x403d46
cmp ebx, 0x2d
jae 0x403e01
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
jmp 0x403d46
cmp ebx, 0x14
jb 0x403d46
cmp ebx, 0x5d
jne 0x403d46
pop edi
mov ax, bx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret