Function at 0x482370
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5786db
mov eax, dword fs:[0]
push eax
sub esp, 0x88
push ebx
push esi
push edi
mov eax, dword [0x5c3678]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, dword [0x5d1218]
add esi, 0x10
push esi
mov dword [ebp - 0x20], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [0x5cfe08]
lea ecx, [ebp - 0x20]
call fcn.00476ce0
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test edi, edi
je 0x4823f1
test ebx, ebx
je 0x4823de
lea eax, [ebx + 0x50]
mov dword [ebp - 0x20], eax
jmp 0x4823e5
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x20]
push ecx
lea esi, [edi + 4]
call fcn.00476c70
lea edx, [ebx + 0x3a4]
push edx
lea eax, [ebp - 0x24]
push eax
mov esi, str.PolicyPopPwd.xml
call fcn.00421fe0
add esp, 8
mov dword [ebp - 4], 0
test ebx, ebx
je 0x48241c
lea ecx, [ebx + 0x19c]
jmp 0x48241e
xor ecx, ecx
push ecx
mov ecx, dword [ebx + 0x30]
push 1
push ebx
push 0
push ecx
mov ecx, dword [ebp - 0x24]
lea eax, [ebx + 0x54]
push eax
call fcn.004ac6e0
test al, al
jne 0x482475
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x48245e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebx + 0x5c]
test eax, eax
jne 0x482486
push 0x80004003
call fcn.0053c010
lea esi, [ebp - 0x20]
call fcn.0046fa70
mov byte [ebp - 4], 1
cmp dword [ebp - 0x20], 0
je 0x482cf4
mov eax, dword [ebp - 0x20]
push 0
push 0x2710
lea esi, [ebp - 0x1c]
call fcn.0046fb00
mov esi, dword [ebp + 8]
add esi, 0x1b0
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.00472570
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4824d5
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp dword [esi], 0
je 0x482cf4
mov ebx, dword [ebp + 8]
push ebx
call fcn.004831c0
lea eax, [ebx + 0x1b0]
xor edi, edi
mov dword [ebp - 0x1c], eax
mov eax, dword [eax]
push edi
push edi
test eax, eax
jne 0x482504
push 0x80004003
call fcn.0053c010
push 0
push 0x2739
lea esi, [ebp - 0x18]
call fcn.0046fb00
push ecx
mov byte [ebp - 4], 3
mov ecx, esp
mov dword [ebp - 0x38], esp
call fcn.004724f0
mov eax, dword [ebx + 0x30]
add ebx, 0x30
push eax
mov ecx, edi
mov dl, 1
call fcn.00492180
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
add esp, 0x10
mov dword [ebp - 0x40], edx
test eax, eax
je 0x48254e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
xor edi, edi
push edi
push edi
test eax, eax
jne 0x482565
push 0x80004003
call fcn.0053c010
push 0
push 0x2742
lea esi, [ebp - 0x18]
call fcn.0046fb00
push ecx
mov byte [ebp - 4], 4
mov ecx, esp
mov dword [ebp - 0x38], esp
call fcn.004724f0
mov ecx, dword [ebx]
push ecx
mov ecx, edi
mov dl, 1
call fcn.00492180
mov esi, eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
add esp, 0x10
mov dword [ebp - 0x38], edx
test eax, eax
je 0x4825aa
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov edx, dword [ebx]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
xor ecx, ecx
cmp dword [ebp - 0x44], esi
push edx
setle cl
dec ecx
and ecx, 0xfffffff7
add ecx, 0x2742
push ecx
movzx edi, cx
mov ecx, esp
mov dword [ebp - 0x38], esp
mov dword [ecx], eax
test eax, eax
je 0x4825db
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
lea esi, [ebp - 0x94]
call fcn.00495010
push 0xf
push 0x2739
push 0x272e
mov eax, esi
push eax
mov byte [ebp - 4], 5
call fcn.00495180
push 0xa
push 0x273a
push edi
mov ecx, esi
call fcn.00495050
push 3
push 0x273a
push 0x2739
mov ecx, esi
push ecx
call fcn.004952a0
push 0x16
push 0x2742
push 0x2739
mov edx, esi
push edx
call fcn.00495180
push 0xa
push 0x274c
push edi
mov ecx, esi
call fcn.00495050
push 4
push 0x274c
push 0x2742
mov eax, esi
push eax
call fcn.004952a0
mov edi, dword [ebp - 0x1c]
mov eax, dword [edi]
test eax, eax
jne 0x48266b
push 0x80004003
call fcn.0053c010
push 0
push 0x274c
lea esi, [ebp - 0x28]
call fcn.0046fb00
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 6
call fcn.0046ed80
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x482699
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x48247c
mov ecx, dword [eax]
lea edx, [ebp - 0x4c]
push edx
push eax
mov eax, dword [ecx + 0x40]
call eax
push ecx
mov eax, edi
mov ecx, esp
mov dword [ebp - 0x38], esp
call fcn.00472530
call fcn.00494f90
add esp, 4
mov esi, eax
call fcn.0046c450
cmp byte [eax + 0xc], 0
je 0x4826e6
mov eax, dword [eax]
cmp eax, 0x64
je 0x4826e6
push 0x64
push eax
push 0x14
call dword [sym.imp.KERNEL32.dll_MulDiv]
jmp 0x4826eb
mov eax, 0x14
sub esi, eax
mov dword [ebp - 0x44], esi
mov esi, dword [ebp - 0x14]
mov ecx, dword [esi]
mov eax, dword [ecx + 0x44]
push 1
lea edx, [ebp - 0x4c]
push edx
push esi
call eax
lea ecx, [ebp - 0x1c]
push ecx
call fcn.00480590
mov byte [ebp - 4], 9
mov edx, dword [esi]
mov ecx, dword [edx + 0x40]
lea eax, [ebp - 0x6c]
push eax
push esi
call ecx
lea edx, [ebp - 0x6c]
push edx
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
push 1
push ecx
mov eax, esp
mov dword [eax], esi
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x38], esp
push esi
lea edi, [ebp - 0x7c]
call edx
lea eax, [ebp - 0x18]
push eax
mov ecx, edi
call fcn.004807c0
mov ebx, dword [ebp + 8]
add ebx, 0x1b4
add esp, 0xc
mov edi, ebx
call fcn.00483570
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x48276a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebx]
mov esi, dword [ebp - 0x1c]
test eax, eax
je 0x48282c
mov edx, 1
mov dword [eax + 0x14], edx
mov dword [eax + 0x18], edx
or ecx, 0xffffffff
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], ecx
mov eax, dword [ebx]
mov dword [eax + 0x24], edx
xor eax, eax
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0xa
test esi, esi
je 0x48281c
lea esi, [ebp - 0x18]
call fcn.00480fa0
push eax
push ecx
mov eax, esp
mov dword [ebp - 0x38], esp
push eax
mov edi, str.groupbox_selectdir_mock
call fcn.00421180
mov byte [ebp - 4], 0xb
mov ecx, dword [0x58e504]
mov edx, dword [0x58e508]
push 0xb
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [0x58e50c]
mov dword [eax + 4], edx
mov edx, dword [0x58e510]
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [eax + 0xc], edx
mov byte [ebp - 4], 0xa
call fcn.00481340
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x482819
push ecx
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x38], esp
test eax, eax
je 0x48280f
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
mov ecx, dword [ebx]
call fcn.00480a20
mov eax, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
mov byte [ebp - 4], 9
test eax, eax
je 0x48282c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [ebp - 4], 8
test esi, esi
je 0x48283c
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
mov edx, dword [edx + 0x40]
lea ecx, [ebp - 0x5c]
push ecx
push eax
call edx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x1b0]
test eax, eax
jne 0x482862
push 0x80004003
call fcn.0053c010
push 0
push 0x2756
lea esi, [ebp - 0x2c]
call fcn.0046fb00
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xc
call fcn.00483910
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x482890
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call fcn.0046c450
cmp byte [eax + 0xc], 0
je 0x4828b1
mov eax, dword [eax]
cmp eax, 0x64
je 0x4828b1
mov esi, dword [sym.imp.KERNEL32.dll_MulDiv]
push 0x64
push eax
push 5
call esi
jmp 0x4828bc
mov esi, dword [sym.imp.KERNEL32.dll_MulDiv]
mov eax, 5
add dword [ebp - 0x58], eax
call fcn.0046c450
cmp byte [eax + 0xc], 0
je 0x4828da
mov eax, dword [eax]
cmp eax, 0x64
je 0x4828da
push 0x64
push eax
push 5
call esi
jmp 0x4828df
mov eax, 5
add dword [ebp - 0x5c], eax
call fcn.0046c450
cmp byte [eax + 0xc], 0
je 0x4828fd
mov eax, dword [eax]
cmp eax, 0x64
je 0x4828fd
push 0x64
push eax
push 5
call esi
jmp 0x482902
mov eax, 5
sub dword [ebp - 0x50], eax
call fcn.0046c450
cmp byte [eax + 0xc], 0
je 0x482920
mov eax, dword [eax]
cmp eax, 0x64
je 0x482920
push 0x64
push eax
push 5
call esi
jmp 0x482925
mov eax, 5
sub dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x482939
push 0x80004003
call fcn.0053c010
mov ecx, dword [eax]
push 1
lea edx, [ebp - 0x5c]
push edx
push eax
mov eax, dword [ecx + 0x44]
call eax
push 5
push 0x2760
push 0x274c
lea ecx, [ebp - 0x94]
push ecx
call fcn.00495180
push 1
push 0x2760
push 0x274c
lea edx, [ebp - 0x94]
push edx
call fcn.004952a0
push 5
push 0x276a
push 0x274c
lea eax, [ebp - 0x94]
push eax
call fcn.00495180
push 1
push 0x276a
push 0x274c
lea ecx, [ebp - 0x94]
push ecx
call fcn.004952a0
push 5
push 0x2774
push 0x276a
lea ecx, [ebp - 0x94]
call fcn.00495050
push 3
push 0x2774
push 0x276a
lea edx, [ebp - 0x94]
push edx
call fcn.004952a0
mov eax, dword [ebx + 0x1b0]
push 0
push 0
push 0
push 1
lea edi, [ebx + 0x19c]
push ebx
push edi
test eax, eax
jne 0x4829fa
push 0x80004003
call fcn.0053c010
push ecx
mov esi, esp
mov dword [ebp - 0x38], esp
push 1
push 0x277e
call fcn.0046fb00
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x1c]
push eax
add ebx, 0x54
push ebx
call fcn.004ae4d0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x482a2b
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp + 8]
push 0
push 0
push 0
push 1
push eax
mov eax, dword [eax + 0x1b0]
push edi
test eax, eax
jne 0x482a4c
push 0x80004003
call fcn.0053c010
push ecx
mov esi, esp
mov dword [ebp - 0x38], esp
push 1
push 0x2788
call fcn.0046fb00
lea eax, [ebp - 0x1c]
push eax
push ebx
call fcn.004ae4d0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x482a77
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp + 8]
push 0
push 0
push 0
push 1
push eax
mov eax, dword [eax + 0x1b0]
push edi
test eax, eax
jne 0x482a98
push 0x80004003
call fcn.0053c010
push ecx
mov esi, esp
mov dword [ebp - 0x38], esp
push 1
push 0x271a
call fcn.0046fb00
lea eax, [ebp - 0x1c]
push eax
push ebx
call fcn.004ae4d0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x482ac3
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x1b0]
xor ebx, ebx
push 1
cmp eax, ebx
jne 0x482ade
push 0x80004003
call fcn.0053c010
push ecx
mov esi, esp
mov dword [ebp - 0x38], esp
push 1
push 0x2788
call fcn.0046fb00
call fcn.0048c7f0
add esp, 8
push 0x1c
push 0x277e
push 0x276a
lea eax, [ebp - 0x94]
push eax
call fcn.00495180
push 0xa
push 0x2788
push 0x277e
lea ecx, [ebp - 0x94]
call fcn.00495050
push 3
push 0x2788
push 0x277e
lea ecx, [ebp - 0x94]
push ecx
call fcn.004952a0
mov eax, dword [edi + 0x1b0]
cmp eax, ebx
jne 0x482b53
push 0x80004003
call fcn.0053c010
push 1
push 0x2788
lea esi, [ebp - 0x1c]
call fcn.0046fb00
mov byte [ebp - 4], 0xf
mov esi, dword [ebp - 0x1c]
cmp esi, ebx
je 0x482bf7
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
mov edx, dword [edx + 0x40]
lea ecx, [ebp - 0x7c]
push ecx
push eax
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x40]
lea ecx, [ebp - 0x4c]
push ecx
push esi
call edx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
call fcn.0046c450
cmp byte [eax + 0xc], 0
je 0x482bb1
mov eax, dword [eax]
cmp eax, 0x64
je 0x482bb1
push 0x64
push eax
push 0x14
call dword [sym.imp.KERNEL32.dll_MulDiv]
jmp 0x482bb6
mov eax, 0x14
add dword [ebp - 0x40], eax
call fcn.0046c450
cmp byte [eax + 0xc], 0
je 0x482bd8
mov eax, dword [eax]
cmp eax, 0x64
je 0x482bd8
push 0x64
push eax
push 0x14
call dword [sym.imp.KERNEL32.dll_MulDiv]
jmp 0x482bdd
mov eax, 0x14
mov ecx, dword [ebp - 0x74]
add eax, ecx
push 0x80
mov dword [ebp - 0x44], eax
push ebx
lea eax, [edi + 0x30]
push eax
lea eax, [ebp - 0x4c]
call fcn.0046f650
mov eax, dword [edi + 0x1b0]
cmp eax, ebx
jne 0x482c0b
push 0x80004003
call fcn.0053c010
push 1
push 0x273a
lea esi, [ebp - 0x30]
call fcn.0046fb00
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x10
call fcn.004724f0
mov bl, 0x12
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x482c3a
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov ecx, dword [edi + 0x30]
mov esi, dword [ebp - 0x38]
push 0
push 0
push 0
lea eax, [edi + 0x30]
push 0
push ecx
push ecx
mov eax, esp
mov dword [ebp - 0x40], esp
mov dword [eax], esi
test esi, esi
je 0x482c60
mov edx, dword [esi]
mov eax, dword [edx + 4]
push esi
call eax
call fcn.0048e480
add esp, 0x18
cmp al, 1
jne 0x482c9d
mov ecx, dword [ebp + 8]
mov edi, dword [ecx + 0x39c]
push ecx
mov edx, esp
mov dword [ebp - 0x40], esp
push edx
call fcn.00421180
mov byte [ebp - 4], 0x13
test esi, esi
jne 0x482c93
push 0x80004003
call fcn.0053c010
mov ecx, esi
mov byte [ebp - 4], bl
call fcn.00483c40
mov byte [ebp - 4], 0xf
test esi, esi
je 0x482cad
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x482cc0
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x94]
test eax, eax
je 0x482cf4
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov esi, dword [ebp + 8]
lea edi, [esi + 0x30]
push edi
call fcn.00483ab0
call fcn.00481b90
mov eax, dword [edi]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [edi]
push ecx
lea ecx, [esi + 0x1b8]
call fcn.00483ea0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x482d31
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x482d57
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4