Function at 0x402261
Capabilities:
Check os version
Get common file path

Disassembly:
push 0x228
push 0x49f1e0
call fcn.0045a600
xor eax, eax
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x214], eax
xor ebx, ebx
inc ebx
mov ecx, ebx
mov eax, ebx
push 0x39
pop esi
lea edx, [eax + ecx]
mov ecx, eax
mov eax, edx
add dword [ebp - 0x214], edx
dec esi
jne 0x40228e
add dword [ebp - 0x214], 0x39
mov eax, esi
cdq
push 5
pop ecx
idiv ecx
cmp edx, ebx
je 0x4022be
cmp edx, 4
je 0x4022be
and dword [ebp - 0x214], esi
jmp 0x4022c4
sub dword [ebp - 0x214], esi
call dword [sym.imp.KERNEL32.dll_GetVersion]
inc esi
cmp esi, 0x19
jl 0x4022a5
mov edx, ebx
mov eax, ebx
push 0x1e
pop esi
lea ecx, [eax + edx]
mov edx, eax
mov eax, ecx
add dword [ebp - 0x214], ecx
dec esi
jne 0x4022d7
add dword [ebp - 0x214], 0x1e
and dword [ebp - 4], esi
and dword [ebp - 0x234], esi
push 7
pop edi
cmp dword [ebp - 0x234], 0x17
jge 0x40232b
mov eax, dword [ebp - 0x234]
cdq
push 3
pop ecx
idiv ecx
cmp eax, edi
jle 0x40231c
sub dword [ebp - 0x214], 2
jmp 0x402323
add dword [ebp - 0x214], 3
inc dword [ebp - 0x234]
jmp 0x4022fa
mov dword [ebp - 4], 0xfffffffe
call fcn.00402374
mov edx, ebx
mov eax, ebx
push 0x10
pop esi
lea ecx, [eax + edx]
mov edx, eax
mov eax, ecx
add dword [ebp - 0x214], ecx
dec esi
jne 0x40233e
add dword [ebp - 0x214], 0x10
xor ecx, ecx
xor ebx, ebx
inc ebx
mov eax, ecx
cdq
push 3
pop esi
idiv esi
cmp edx, ebx
jne 0x40238a
and dword [ebp - 0x214], ecx
jmp 0x402390
or dword [ebp - 0x214], ecx
inc ecx
cmp ecx, 9
jl 0x40235a
mov eax, dword [ebp - 0x214]
mov dword [ebp - 0x214], eax
cmp eax, 0xffff
jle 0x4023b2
imul eax, eax, 7
mov dword [ebp - 0x214], eax
cdq
push 0xb
pop ecx
idiv ecx
cmp edx, edi
jne 0x4023c6
mov dword [ebp - 0x214], 0xd
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
xor edx, edx
push 3
pop ecx
div ecx
cmp edx, ebx
jne 0x4023e1
call esi
add dword [ebp - 0x214], eax
mov edx, ebx
mov eax, ebx
push 8
pop esi
lea ecx, [eax + edx]
mov edx, eax
mov eax, ecx
add dword [ebp - 0x214], ecx
dec esi
jne 0x4023e8
add dword [ebp - 0x214], 8
xor ecx, ecx
xor dword [ebp - 0x214], ecx
jge 0x40240f
neg dword [ebp - 0x214]
mov eax, dword [ebp - 0x214]
cdq
mov ebx, edi
idiv ebx
test edx, edx
jne 0x402424
mov dword [ebp - 0x214], esi
inc ecx
cmp ecx, 9
jl 0x402401
xor ecx, ecx
xor dword [ebp - 0x214], ecx
jge 0x40243a
neg dword [ebp - 0x214]
mov eax, dword [ebp - 0x214]
cdq
mov ebx, edi
idiv ebx
test edx, edx
jne 0x40244f
mov dword [ebp - 0x214], esi
inc ecx
cmp ecx, 0xe
jl 0x40242c
xor ecx, ecx
xor dword [ebp - 0x214], ecx
jge 0x402465
neg dword [ebp - 0x214]
mov eax, dword [ebp - 0x214]
cdq
mov ebx, edi
idiv ebx
test edx, edx
jne 0x40247a
mov dword [ebp - 0x214], esi
inc ecx
cmp ecx, 8
jl 0x402457
xor ecx, ecx
xor dword [ebp - 0x214], ecx
jge 0x402490
neg dword [ebp - 0x214]
mov eax, dword [ebp - 0x214]
cdq
mov ebx, edi
idiv ebx
test edx, edx
jne 0x4024a5
mov dword [ebp - 0x214], esi
inc ecx
cmp ecx, 0xa
jl 0x402482
xor ecx, ecx
xor dword [ebp - 0x214], ecx
jge 0x4024bb
neg dword [ebp - 0x214]
mov eax, dword [ebp - 0x214]
cdq
mov ebx, edi
idiv ebx
test edx, edx
jne 0x4024d0
mov dword [ebp - 0x214], esi
inc ecx
cmp ecx, 6
jl 0x4024ad
xor eax, eax
add dword [ebp - 0x214], eax
inc eax
cmp eax, edi
jl 0x4024d8
cmp dword [ebp - 0x214], 0xffff
jle 0x4024fe
mov eax, dword [ebp - 0x214]
imul eax, eax, 7
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x214]
cdq
push 0xb
pop ecx
idiv ecx
cmp edx, edi
jne 0x402518
mov dword [ebp - 0x214], 0xd
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
xor edx, edx
push 3
pop ecx
div ecx
cmp edx, 1
jne 0x402534
call esi
add dword [ebp - 0x214], eax
push 0x10
pop esi
mov ebx, dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
cmp dword [ebp - 0x214], 0
jge 0x40254c
neg dword [ebp - 0x214]
mov eax, dword [ebp - 0x214]
cdq
mov ecx, edi
idiv ecx
test edx, edx
je 0x402562
and dword [ebp - 0x214], 0
push 0xfa
lea eax, [ebp - 0x210]
push eax
call ebx
dec esi
jne 0x40253d
push 3
pop esi
cmp dword [ebp - 0x214], 0
jge 0x402585
neg dword [ebp - 0x214]
mov eax, dword [ebp - 0x214]
cdq
mov ecx, edi
idiv ecx
test edx, edx
je 0x40259b
and dword [ebp - 0x214], 0
push 0xfa
lea eax, [ebp - 0x210]
push eax
call ebx
dec esi
jne 0x402576
push 0xa
pop esi
cmp dword [ebp - 0x214], 0
jge 0x4025be
neg dword [ebp - 0x214]
mov eax, dword [ebp - 0x214]
cdq
mov ecx, edi
idiv ecx
test edx, edx
je 0x4025d4
and dword [ebp - 0x214], 0
push 0xfa
lea eax, [ebp - 0x210]
push eax
call ebx
dec esi
jne 0x4025af
xor ebx, ebx
inc ebx
mov eax, esi
cdq
push 5
pop ecx
idiv ecx
cmp edx, ebx
je 0x402601
cmp edx, 4
je 0x402601
and dword [ebp - 0x214], esi
jmp 0x402607
sub dword [ebp - 0x214], esi
call dword [sym.imp.KERNEL32.dll_GetVersion]
inc esi
cmp esi, 8
jl 0x4025e8
mov dword [ebp - 4], ebx
and dword [ebp - 0x238], 0
cmp dword [ebp - 0x238], edi
jge 0x40264d
mov eax, dword [ebp - 0x238]
cdq
push 3
pop ecx
idiv ecx
cmp eax, edi
jle 0x40263e
sub dword [ebp - 0x214], 2
jmp 0x402645
add dword [ebp - 0x214], 3
inc dword [ebp - 0x238]
jmp 0x40261d
mov dword [ebp - 4], 0xfffffffe
call fcn.0040277d
xor ecx, ecx
xor dword [ebp - 0x214], ecx
jge 0x402669
neg dword [ebp - 0x214]
mov eax, dword [ebp - 0x214]
cdq
mov esi, edi
idiv esi
test edx, edx
jne 0x40267e
and dword [ebp - 0x214], edx
inc ecx
cmp ecx, 2
jl 0x40265b
xor eax, eax
add dword [ebp - 0x214], eax
inc eax
cmp eax, 2
jl 0x402686
cmp dword [ebp - 0x214], 0xffff
jle 0x4026ad
mov eax, dword [ebp - 0x214]
imul eax, eax, 7
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x214]
cdq
push 0xb
pop ecx
idiv ecx
cmp edx, edi
jne 0x4026c7
mov dword [ebp - 0x214], 0xd
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
xor edx, edx
push 3
pop ecx
div ecx
cmp edx, ebx
jne 0x4026e2
call esi
add dword [ebp - 0x214], eax
mov edx, ebx
mov eax, ebx
push 6
pop esi
lea ecx, [eax + edx]
mov edx, eax
mov eax, ecx
add dword [ebp - 0x214], ecx
dec esi
jne 0x4026e9
add dword [ebp - 0x214], 6
xor eax, eax
add dword [ebp - 0x214], eax
inc eax
cmp eax, 3
jl 0x402702
cmp dword [ebp - 0x214], 0xffff
jle 0x402729
mov eax, dword [ebp - 0x214]
imul eax, eax, 7
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x214]
cdq
push 0xb
pop ecx
idiv ecx
cmp edx, edi
jne 0x402743
mov dword [ebp - 0x214], 0xd
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
xor edx, edx
push 3
pop ecx
div ecx
xor ebx, ebx
inc ebx
cmp edx, ebx
jne 0x402761
call esi
add dword [ebp - 0x214], eax
xor ecx, ecx
mov eax, ecx
cdq
push 3
pop esi
idiv esi
cmp edx, ebx
jne 0x402793
and dword [ebp - 0x214], ecx
jmp 0x402799
or dword [ebp - 0x214], ecx
inc ecx
cmp ecx, 4
jl 0x402763
mov esi, edi
cmp dword [ebp - 0x214], 0
jge 0x4027b0
neg dword [ebp - 0x214]
mov eax, dword [ebp - 0x214]
cdq
mov ecx, edi
idiv ecx
test edx, edx
je 0x4027c6
and dword [ebp - 0x214], 0
push 0xfa
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
dec esi
jne 0x4027a1
mov edx, ebx
mov eax, ebx
push 3
pop esi
lea ecx, [eax + edx]
mov edx, eax
mov eax, ecx
add dword [ebp - 0x214], ecx
dec esi
jne 0x4027e2
push 3
pop ebx
add dword [ebp - 0x214], ebx
push 4
pop esi
cmp dword [ebp - 0x214], 0
jge 0x40280d
neg dword [ebp - 0x214]
mov eax, dword [ebp - 0x214]
cdq
mov ecx, edi
idiv ecx
test edx, edx
je 0x402823
and dword [ebp - 0x214], 0
push 0xfa
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
dec esi
jne 0x4027fe
push 2
pop ecx
mov dword [ebp - 4], ecx
and dword [ebp - 0x22c], esi
cmp dword [ebp - 0x22c], ebx
jge 0x402871
mov eax, dword [ebp - 0x22c]
cdq
mov esi, ebx
idiv esi
cmp eax, edi
jle 0x402863
sub dword [ebp - 0x214], ecx
jmp 0x402869
add dword [ebp - 0x214], ebx
inc dword [ebp - 0x22c]
jmp 0x402844
mov dword [ebp - 4], 0xfffffffe
call fcn.0040289f
xor esi, esi
mov eax, esi
cdq
push 5
pop ecx
idiv ecx
cmp edx, 1
je 0x4028b5
cmp edx, 4
je 0x4028b5
and dword [ebp - 0x214], esi
jmp 0x4028bb
sub dword [ebp - 0x214], esi
call dword [sym.imp.KERNEL32.dll_GetVersion]
inc esi
cmp esi, ebx
jl 0x40287f
mov eax, dword [ebp - 0x214]
mov dword [ebp - 0x214], eax
cmp eax, 0xffff
jle 0x4028e2
imul eax, eax, 7
mov dword [ebp - 0x214], eax
cdq
push 0xb
pop ecx
idiv ecx
cmp edx, edi
jne 0x4028f6
mov dword [ebp - 0x214], 0xd
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
xor edx, edx
mov ecx, ebx
div ecx
cmp edx, 1
jne 0x402911
call esi
add dword [ebp - 0x214], eax
xor esi, esi
mov eax, esi
cdq
push 5
pop ecx
idiv ecx
cmp edx, 1
je 0x40292d
cmp edx, 4
je 0x40292d
and dword [ebp - 0x214], esi
jmp 0x402933
sub dword [ebp - 0x214], esi
call dword [sym.imp.KERNEL32.dll_GetVersion]
inc esi
cmp esi, 2
jl 0x402913
mov eax, dword [ebp - 0x214]
mov dword [ebp - 0x214], eax
xor ecx, ecx
xor dword [ebp - 0x214], ecx
jge 0x40295b
neg dword [ebp - 0x214]
mov eax, dword [ebp - 0x214]
cdq
mov esi, edi
idiv esi
test edx, edx
jne 0x402970
and dword [ebp - 0x214], edx
inc ecx
cmp ecx, ebx
jl 0x40294d
and dword [ebp - 0x214], 0
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov dword [ebp - 4], ebx
and dword [ebp - 0x224], 0
cmp dword [ebp - 0x224], 4
jge 0x4029bb
mov eax, dword [ebp - 0x224]
cdq
mov ecx, ebx
idiv ecx
cmp eax, edi
jle 0x4029ad
sub dword [ebp - 0x214], 2
jmp 0x4029b3
add dword [ebp - 0x214], ebx
inc dword [ebp - 0x224]
jmp 0x40298c
mov dword [ebp - 4], 0xfffffffe
call fcn.004029fb
mov dword [ebp - 4], 4
and dword [ebp - 0x218], 0
cmp dword [ebp - 0x218], ebx
jge 0x402a1f
mov eax, dword [ebp - 0x218]
cdq
mov ecx, ebx
idiv ecx
cmp eax, edi
jle 0x402a11
sub dword [ebp - 0x214], 2
jmp 0x402a17
add dword [ebp - 0x214], ebx
inc dword [ebp - 0x218]
jmp 0x4029d5
mov dword [ebp - 4], 0xfffffffe
call fcn.00402ac0
mov esi, ebx
cmp dword [ebp - 0x214], 0
jge 0x402a3c
neg dword [ebp - 0x214]
mov eax, dword [ebp - 0x214]
cdq
mov ecx, edi
idiv ecx
test edx, edx
je 0x402a52
and dword [ebp - 0x214], 0
push 0xfa
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
dec esi
jne 0x402a2d
xor ecx, ecx
xor dword [ebp - 0x214], ecx
jge 0x402a77
neg dword [ebp - 0x214]
mov eax, dword [ebp - 0x214]
cdq
mov esi, edi
idiv esi
test edx, edx
jne 0x402a8c
and dword [ebp - 0x214], edx
inc ecx
cmp ecx, 4
jl 0x402a69
mov eax, dword [ebp - 0x214]
mov dword [ebp - 0x214], eax
xor esi, esi
mov eax, esi
cdq
push 5
pop ecx
idiv ecx
cmp edx, 1
je 0x402ad6
cmp edx, 4
je 0x402ad6
and dword [ebp - 0x214], esi
jmp 0x402adc
sub dword [ebp - 0x214], esi
call dword [sym.imp.KERNEL32.dll_GetVersion]
inc esi
cmp esi, 2
jl 0x402aa0
push 2
pop esi
cmp dword [ebp - 0x214], 0
jge 0x402afa
neg dword [ebp - 0x214]
mov eax, dword [ebp - 0x214]
cdq
mov ecx, edi
idiv ecx
test edx, edx
je 0x402b10
and dword [ebp - 0x214], 0
push 0xfa
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
dec esi
jne 0x402aeb
xor ecx, ecx
xor dword [ebp - 0x214], ecx
jge 0x402b35
neg dword [ebp - 0x214]
mov eax, dword [ebp - 0x214]
cdq
mov esi, edi
idiv esi
test edx, edx
jne 0x402b4a
and dword [ebp - 0x214], edx
inc ecx
cmp ecx, ebx
jl 0x402b27
xor eax, eax
inc eax
mov edx, eax
push 2
pop esi
lea ecx, [eax + edx]
mov edx, eax
mov eax, ecx
add dword [ebp - 0x214], ecx
dec esi
jne 0x402b57
add dword [ebp - 0x214], 2
add dword [ebp - 0x214], 2
inc dword [ebp - 0x214]
cmp dword [ebp - 0x214], 0xffff
jle 0x402b96
mov eax, dword [ebp - 0x214]
imul eax, eax, 7
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x214]
cdq
push 0xb
pop ecx
idiv ecx
cmp edx, edi
jne 0x402bb0
mov dword [ebp - 0x214], 0xd
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
xor edx, edx
push 3
pop ebx
mov ecx, ebx
div ecx
cmp edx, 1
jne 0x402bce
call esi
add dword [ebp - 0x214], eax
xor esi, esi
mov eax, esi
cdq
push 5
pop ecx
idiv ecx
cmp edx, 1
je 0x402bea
cmp edx, 4
je 0x402bea
and dword [ebp - 0x214], esi
jmp 0x402bf0
sub dword [ebp - 0x214], esi
call dword [sym.imp.KERNEL32.dll_GetVersion]
inc esi
cmp esi, 4
jl 0x402bd0
mov dword [ebp - 4], 5
and dword [ebp - 0x21c], 0
cmp dword [ebp - 0x21c], ebx
jge 0x402c38
mov eax, dword [ebp - 0x21c]
cdq
mov ecx, ebx
idiv ecx
cmp eax, edi
jle 0x402c2a
sub dword [ebp - 0x214], 2
jmp 0x402c30
add dword [ebp - 0x214], ebx
inc dword [ebp - 0x21c]
jmp 0x402c0a
mov dword [ebp - 4], 0xfffffffe
call fcn.00402cc4
mov eax, dword [ebp - 0x214]
mov dword [ebp - 0x214], eax
cmp eax, 0xffff
jle 0x402c60
imul eax, eax, 7
mov dword [ebp - 0x214], eax
cdq
push 0xb
pop ecx
idiv ecx
cmp edx, edi
jne 0x402c74
mov dword [ebp - 0x214], 0xd
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
xor edx, edx
mov ecx, ebx
div ecx
cmp edx, 1
jne 0x402c8f
call esi
add dword [ebp - 0x214], eax
mov dword [ebp - 4], 6
and dword [ebp - 0x220], 0
cmp dword [ebp - 0x220], 2
jge 0x402ce8
mov eax, dword [ebp - 0x220]
cdq
mov ecx, ebx
idiv ecx
cmp eax, edi
jle 0x402cda
sub dword [ebp - 0x214], 2
jmp 0x402ce0
add dword [ebp - 0x214], ebx
inc dword [ebp - 0x220]
jmp 0x402c9d
mov dword [ebp - 4], 0xfffffffe
call fcn.00402d6d
mov esi, ebx
cmp dword [ebp - 0x214], 0
jge 0x402d05
neg dword [ebp - 0x214]
mov eax, dword [ebp - 0x214]
cdq
mov ecx, edi
idiv ecx
test edx, edx
je 0x402d1b
and dword [ebp - 0x214], 0
push 0xfa
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
dec esi
jne 0x402cf6
add dword [ebp - 0x214], 2
inc dword [ebp - 0x214]
mov dword [ebp - 4], edi
and dword [ebp - 0x228], esi
cmp dword [ebp - 0x228], 4
jge 0x402d91
mov eax, dword [ebp - 0x228]
cdq
mov ecx, ebx
idiv ecx
cmp eax, edi
jle 0x402d83
sub dword [ebp - 0x214], 2
jmp 0x402d89
add dword [ebp - 0x214], ebx
inc dword [ebp - 0x228]
jmp 0x402d46
mov dword [ebp - 4], 0xfffffffe
call fcn.00402e16
xor eax, eax
add dword [ebp - 0x214], eax
inc eax
cmp eax, ebx
jl 0x402d9f
cmp dword [ebp - 0x214], 0xffff
jle 0x402dc5
mov eax, dword [ebp - 0x214]
imul eax, eax, 7
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x214]
cdq
push 0xb
pop ecx
idiv ecx
cmp edx, edi
jne 0x402ddf
mov dword [ebp - 0x214], 0xd
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
xor edx, edx
mov ecx, ebx
div ecx
cmp edx, 1
jne 0x402dfa
call esi
add dword [ebp - 0x214], eax
xor ecx, ecx
mov eax, ecx
cdq
mov esi, ebx
idiv esi
cmp edx, 1
jne 0x402e2c
and dword [ebp - 0x214], ecx
jmp 0x402e32
or dword [ebp - 0x214], ecx
inc ecx
cmp ecx, ebx
jl 0x402dfc
xor ecx, ecx
xor dword [ebp - 0x214], ecx
jge 0x402e47
neg dword [ebp - 0x214]
mov eax, dword [ebp - 0x214]
cdq
mov esi, edi
idiv esi
test edx, edx
jne 0x402e5c
and dword [ebp - 0x214], edx
inc ecx
cmp ecx, ebx
jl 0x402e39
xor esi, esi
mov eax, esi
cdq
push 5
pop ecx
idiv ecx
cmp edx, 1
je 0x402e7d
cmp edx, 4
je 0x402e7d
and dword [ebp - 0x214], esi
jmp 0x402e83
sub dword [ebp - 0x214], esi
call dword [sym.imp.KERNEL32.dll_GetVersion]
inc esi
cmp esi, 4
jl 0x402e63
mov dword [ebp - 4], 8
and dword [ebp - 0x230], 0
cmp dword [ebp - 0x230], 1
jge 0x402ecc
mov eax, dword [ebp - 0x230]
cdq
mov ecx, ebx
idiv ecx
cmp eax, edi
jle 0x402ebe
sub dword [ebp - 0x214], 2
jmp 0x402ec4
add dword [ebp - 0x214], ebx
inc dword [ebp - 0x230]
jmp 0x402e9d
mov dword [ebp - 4], 0xfffffffe
call fcn.00402f11
xor eax, eax
inc eax
mov edx, eax
push 2
pop esi
lea ecx, [eax + edx]
mov edx, eax
mov eax, ecx
add dword [ebp - 0x214], ecx
dec esi
jne 0x402ee0
add dword [ebp - 0x214], 2
xor ecx, ecx
mov eax, ecx
cdq
push 3
pop esi
idiv esi
cmp edx, 1
jne 0x402f27
and dword [ebp - 0x214], ecx
jmp 0x402f2d
or dword [ebp - 0x214], ecx
inc ecx
cmp ecx, 2
jl 0x402ef9
cmp dword [ebp - 0x214], 0xffff
jle 0x402f4e
mov eax, dword [ebp - 0x214]
imul eax, eax, 7
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x214]
cdq
push 0xb
pop ecx
idiv ecx
cmp edx, edi
jne 0x402f68
mov dword [ebp - 0x214], 0xd
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
xor edx, edx
push 3
pop ecx
div ecx
cmp edx, 1
jne 0x402f84
call esi
add dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x214]
mov dword [ebp - 0x214], eax
call fcn.0045a648
ret