Function at 0x242850
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x2bea3b
mov eax, dword fs:[0]
push eax
sub esp, 0x350
mov eax, dword [0x2da130]
xor eax, esp
mov dword [esp + 0x348], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x2da130]
xor eax, esp
push eax
lea eax, [esp + 0x364]
mov dword fs:[0], eax
call fcn.0028cc1d
xor ecx, ecx
xor ebp, ebp
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x2428a7
push 0x80004005
call fcn.002418a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebx, [eax + 0x10]
mov dword [esp + 0x18], ebx
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
lea ecx, [esp + 0x178]
push ecx
lea edx, [esp + 0x5c]
push edx
push 0x80
lea eax, [esp + 0x104]
push eax
mov ecx, 0x2f3bf8
mov dword [esp + 0x3a8], ebp
call fcn.0024e17e
mov ecx, dword [esp + 0xcc]
push ebp
push ecx
mov ecx, 0x2f3bf8
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov byte [esp + 0x24], 0
call fcn.0024863b
lea edx, [esp + 0x1c]
push edx
mov ecx, 0x2f3bf8
mov esi, eax
call fcn.0024f133
cmp esi, ebp
je 0x242950
lea eax, [ebx - 0x10]
mov dword [esp + 0x36c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x242949
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
jmp 0x243521
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x24]
push edx
mov ecx, 0x2f3bf8
call fcn.00248f3d
mov esi, eax
cmp esi, ebp
jne 0x242922
mov ecx, dword [esp + 0xcc]
mov edi, dword [esp + 0x20]
push ecx
call fcn.002596a3
add esp, 4
push eax
push ebp
mov ecx, 0x2f3bf8
mov dword [0x2f3b44], eax
call fcn.0024863b
mov esi, eax
cmp esi, ebp
je 0x2429b2
lea eax, [ebx - 0x10]
mov dword [esp + 0x36c], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x24293d
mov ecx, 0x2f3bf8
call fcn.00249755
cmp eax, ebp
jne 0x2429d3
mov dword [esp + 0x36c], 0xffffffff
lea eax, [ebx - 0x10]
jmp 0x243506
mov ecx, 0x2f3bf8
call fcn.00249887
cmp byte [0x2f4408], 3
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
je 0x242a3e
xor esi, esi
mov edi, edi
xor eax, eax
lea ecx, [esp + 0x6c]
push ecx
mov ecx, 0x2f3bf8
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
call fcn.0025976d
inc esi
cmp eax, ebp
je 0x242a3e
push 0xc8
call ebx
cmp esi, 0xa
jle 0x2429f0
xor eax, eax
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0x374]
sub eax, 3
je 0x242ac5
sub eax, 4
je 0x242aa9
sub eax, 1
jne 0x242ade
mov edx, dword [str.PUBLIC]
mov eax, dword [0x2c9b00]
mov dword [esp + 0xac], edx
mov dword [esp + 0xb0], eax
jmp 0x242ade
mov ecx, dword [str.SECURE]
mov edx, dword [0x2c9af8]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], edx
jmp 0x242ade
mov eax, dword [str.USB_DISK]
mov ecx, dword [0x2c9aec]
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], ecx
cmp edi, 0x400000
jb 0x242b08
mov edx, dword [esp + 0xcc]
mov eax, dword [esp + 0x1c]
push edx
push eax
push ebp
push edi
push 0x2f3bf8
lea ecx, [esp + 0xc0]
call fcn.002475a0
jmp 0x242b45
cmp edi, 0x7fa8
jb 0x242b2b
mov ecx, dword [esp + 0x1c]
push ecx
lea edx, [esp + 0xb0]
push edx
push ebp
push edi
mov ecx, 0x2f3bf8
call fcn.00247150
jmp 0x242b45
mov eax, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0xb0]
push ecx
push ebp
mov edx, edi
mov ecx, 0x2f3bf8
call fcn.00246db0
mov ecx, 0x2f3bf8
mov esi, eax
call fcn.002497ee
mov edx, dword [0x2f3b44]
push edx
call fcn.0025970e
add esp, 4
cmp esi, ebp
jne 0x2430c9
mov eax, dword [esp + 0xcc]
push ebp
push eax
mov ecx, 0x2f3bf8
call fcn.0024863b
cmp byte [esp + 0x1c], 0
mov ecx, 0x2f3bf8
je 0x242b91
push 1
push ebp
call fcn.00261134
jmp 0x242b96
call fcn.00263f2e
mov ebx, dword [sym.imp.USER32.dll_PeekMessageW]
mov ebp, dword [sym.imp.USER32.dll_TranslateMessage]
mov edi, 0x2d
push 1
push 0
push 0
push 0
lea ecx, [esp + 0x9c]
push ecx
call ebx
test eax, eax
je 0x242bed
mov esi, dword [sym.imp.USER32.dll_DispatchMessageW]
lea edx, [esp + 0x8c]
push edx
call ebp
lea eax, [esp + 0x8c]
push eax
call esi
push 1
push 0
push 0
push 0
lea ecx, [esp + 0x9c]
push ecx
call ebx
test eax, eax
jne 0x242bc3
xor esi, esi
nop
call fcn.0028e52e
mov eax, dword [eax + 4]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x60]
push esi
call eax
inc esi
test eax, eax
jne 0x242bf0
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
sub edi, 1
jne 0x242ba7
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
xor esi, esi
xor eax, eax
lea ecx, [esp + 0x6c]
push ecx
mov ecx, 0x2f3bf8
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
call fcn.0025976d
inc esi
test eax, eax
je 0x242c6a
push 0xc8
call edi
cmp esi, 0xa
jle 0x242c1c
mov eax, dword [esp + 0x374]
cmp eax, 7
jne 0x242f07
mov edx, dword [esp + 0xcd]
push 0
push edx
mov ecx, 0x2f3bf8
call fcn.0024863b
mov esi, eax
test esi, esi
jne 0x2430c9
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x24]
push ecx
mov ecx, 0x2f3bf8
call fcn.00248f3d
mov esi, eax
test esi, esi
jne 0x2430c9
mov edx, dword [esp + 0xcd]
mov edi, dword [esp + 0x20]
push edx
call fcn.002596a3
add esp, 4
push eax
push esi
mov ecx, 0x2f3bf8
mov dword [0x2f3b44], eax
call fcn.0024863b
mov esi, eax
test esi, esi
jne 0x2430c9
mov ecx, 0x2f3bf8
call fcn.00249755
test eax, eax
jne 0x242d01
lea ecx, [esp + 0x18]
call fcn.00241910
jmp 0x24351f
mov ecx, 0x2f3bf8
call fcn.00249887
xor esi, esi
lea ecx, [ecx]
xor eax, eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
lea eax, [esp + 0x6c]
push eax
mov ecx, 0x2f3bf8
call fcn.0025976d
inc esi
test eax, eax
je 0x242d5f
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, 0xa
jle 0x242d10
cmp edi, 0x400000
jb 0x242d88
mov ecx, dword [esp + 0xcd]
mov edx, dword [esp + 0x1c]
push ecx
push edx
push 1
push edi
push 0x2f3bf8
mov ecx, str.PUBLIC
call fcn.002475a0
jmp 0x242dc1
cmp edi, 0x7fa8
jb 0x242da9
mov eax, dword [esp + 0x1c]
push eax
push str.PUBLIC
push 1
push edi
mov ecx, 0x2f3bf8
call fcn.00247150
jmp 0x242dc1
mov ecx, dword [esp + 0x1c]
push ecx
push str.PUBLIC
push 1
mov edx, edi
mov ecx, 0x2f3bf8
call fcn.00246db0
mov esi, eax
push esi
lea edx, [esp + 0x1c]
push str.buildFAT_Ext_Public__d
push edx
call fcn.002414a0
mov eax, dword [esp + 0x24]
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, 0x2f3bf8
call fcn.002497ee
mov ecx, dword [0x2f3b44]
push ecx
call fcn.0025970e
add esp, 4
test esi, esi
jne 0x2430c9
mov edx, dword [esp + 0xcd]
push esi
push edx
mov ecx, 0x2f3bf8
call fcn.0024863b
cmp byte [esp + 0x1c], 0
mov ecx, 0x2f3bf8
je 0x242e2c
push 1
push 1
call fcn.00261134
jmp 0x242e31
call fcn.00263f2e
mov edi, 0x2d
push 1
push 0
push 0
push 0
lea eax, [esp + 0x9c]
push eax
call ebx
test eax, eax
je 0x242e7c
mov esi, dword [sym.imp.USER32.dll_DispatchMessageW]
lea ecx, [esp + 0x8c]
push ecx
call ebp
lea edx, [esp + 0x8c]
push edx
call esi
push 1
push 0
push 0
push 0
lea eax, [esp + 0x9c]
push eax
call ebx
test eax, eax
jne 0x242e52
xor esi, esi
mov edi, edi
call fcn.0028e52e
mov eax, dword [eax + 4]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x60]
push esi
call eax
inc esi
test eax, eax
jne 0x242e80
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
sub edi, 1
jne 0x242e36
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
xor esi, esi
lea esp, [esp]
xor eax, eax
lea ecx, [esp + 0x6c]
push ecx
mov ecx, 0x2f3bf8
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
call fcn.0025976d
inc esi
test eax, eax
je 0x2434f4
push 0xc8
call edi
cmp esi, 0xa
jle 0x242eb0
jmp 0x2434f4
cmp eax, 8
jne 0x2434f4
cmp byte [esp + 0x1c], 0
je 0x242f78
push 0x200
lea edx, [esp + 0x160]
push 0
push edx
call fcn.002a4930
add esp, 0xc
push str.1234
lea eax, [esp + 0x160]
push 0x2c9b3c
push eax
call fcn.002a19d4
add esp, 0xc
push 0x10
lea ecx, [esp + 0x160]
push ecx
push 0
mov ecx, 0x2f3bf8
call fcn.00260765
mov edi, eax
test edi, edi
je 0x2430d9
lea ecx, [esp + 0x18]
call fcn.00241910
mov eax, edi
jmp 0x243521
mov edx, dword [esp + 0xcc]
push edx
call fcn.002596a3
add esp, 4
push eax
push 0
mov ecx, 0x2f3bf8
mov dword [0x2f3b44], eax
call fcn.0024863b
mov esi, eax
test esi, esi
jne 0x2430c9
mov ecx, 0x2f3bf8
call fcn.00249755
test eax, eax
je 0x242cf3
mov ecx, 0x2f3bf8
call fcn.00249887
push 0x200
lea eax, [esp + 0x160]
push esi
push eax
call fcn.002a4930
xor eax, eax
add esp, 0xc
push str.1234
lea ecx, [esp + 0x160]
push 0x2c9b3c
push ecx
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
call fcn.002a19d4
add esp, 0xc
push str.1234
lea edx, [esp + 0x90]
push 0x2c9b3c
push edx
call fcn.002a19d4
add esp, 0xc
push 1
push esi
lea eax, [esp + 0x94]
push eax
push 0x10
lea ecx, [esp + 0x16c]
push ecx
push esi
lea edx, [esp + 0x84]
push edx
mov ecx, 0x2f3bf8
call fcn.00263687
mov edi, eax
test edi, edi
je 0x2430d9
push str.FF01__ChangePassword_fail
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esp + 0x28]
mov esi, eax
call fcn.00241930
lea ecx, [esp + 0x28]
call fcn.00241910
lea ecx, [esp + 0x18]
call fcn.00241910
mov eax, esi
jmp 0x243521
cmp byte [esp + 0x1c], 0
mov ecx, 0x2f3bf8
je 0x2430f0
push 1
push 0
call fcn.00261134
jmp 0x2430f5
call fcn.00263f2e
mov ebp, 0x2d
lea ebx, [ebx]
push 1
push 0
push 0
push 0
lea eax, [esp + 0x9c]
push eax
call ebx
test eax, eax
je 0x24314e
mov esi, dword [sym.imp.USER32.dll_TranslateMessage]
lea esp, [esp]
lea ecx, [esp + 0x8c]
push ecx
call esi
lea edx, [esp + 0x8c]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 1
push 0
push 0
push 0
lea eax, [esp + 0x9c]
push eax
call ebx
test eax, eax
jne 0x243120
xor esi, esi
call fcn.0028e52e
mov eax, dword [eax + 4]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x60]
push esi
call eax
inc esi
test eax, eax
jne 0x243150
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
sub ebp, 1
jne 0x243100
lea ecx, [esp + 0x1c]
push ecx
mov ecx, 0x2f3bf8
call fcn.0024f133
test edi, edi
jne 0x242f68
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x24]
push eax
mov ecx, 0x2f3bf8
call fcn.00248f3d
mov esi, eax
test esi, esi
jne 0x2430c9
cmp byte [0x2f4408], 3
mov edi, dword [esp + 0x20]
je 0x24320e
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
lea esp, [esp]
xor eax, eax
lea ecx, [esp + 0x6c]
push ecx
mov ecx, 0x2f3bf8
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
call fcn.0025976d
inc esi
test eax, eax
je 0x24320e
push 0xc8
call ebp
cmp esi, 0xa
jle 0x2431c0
cmp edi, 0x400000
jb 0x243237
mov edx, dword [esp + 0xcc]
mov eax, dword [esp + 0x1c]
push edx
push eax
push 0
push edi
push 0x2f3bf8
mov ecx, str.SECURE
call fcn.002475a0
jmp 0x243270
cmp edi, 0x7fa8
jb 0x243258
mov ecx, dword [esp + 0x1c]
push ecx
push str.SECURE
push 0
push edi
mov ecx, 0x2f3bf8
call fcn.00247150
jmp 0x243270
mov edx, dword [esp + 0x1c]
push edx
push str.SECURE
push 0
mov edx, edi
mov ecx, 0x2f3bf8
call fcn.00246db0
mov esi, eax
push esi
lea eax, [esp + 0x1c]
push str.buildFAT_Ext__d
push eax
call fcn.002414a0
mov ecx, dword [esp + 0x24]
add esp, 0xc
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, 0x2f3bf8
call fcn.002497ee
mov edx, dword [0x2f3b44]
push edx
call fcn.0025970e
add esp, 4
test esi, esi
jne 0x2430c9
mov eax, dword [esp + 0xcc]
push esi
push eax
mov ecx, 0x2f3bf8
call fcn.0024863b
cmp byte [esp + 0x1c], 0
mov ecx, 0x2f3bf8
je 0x2432da
push 1
push esi
call fcn.00261134
jmp 0x2432df
call fcn.00263f2e
mov ebp, dword [sym.imp.USER32.dll_TranslateMessage]
mov edi, 0x2d
lea ebx, [ebx]
push 1
push 0
push 0
push 0
lea ecx, [esp + 0x9c]
push ecx
call ebx
test eax, eax
je 0x24333a
mov esi, dword [sym.imp.USER32.dll_DispatchMessageW]
lea esp, [esp]
lea edx, [esp + 0x8c]
push edx
call ebp
lea eax, [esp + 0x8c]
push eax
call esi
push 1
push 0
push 0
push 0
lea ecx, [esp + 0x9c]
push ecx
call ebx
test eax, eax
jne 0x243310
xor esi, esi
lea esp, [esp]
call fcn.0028e52e
mov eax, dword [eax + 4]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x60]
push esi
call eax
inc esi
test eax, eax
jne 0x243340
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
sub edi, 1
jne 0x2432f0
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
xor esi, esi
xor eax, eax
lea ecx, [esp + 0x6c]
push ecx
mov ecx, 0x2f3bf8
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
call fcn.0025976d
inc esi
test eax, eax
je 0x2433ba
push 0xc8
call edi
cmp esi, 0xa
jle 0x24336c
cmp byte [esp + 0x1c], 0
jne 0x2434f4
push 0x200
lea edx, [esp + 0x160]
push 0
push edx
call fcn.002a4930
xor eax, eax
add esp, 0xc
push str.1234
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
lea eax, [esp + 0x160]
push 0x2c9b3c
push eax
call fcn.002a19d4
add esp, 0xc
push 1
push 0
lea ecx, [esp + 0x74]
push ecx
push 0
mov edx, ecx
push edx
push 0x10
lea eax, [esp + 0x174]
push eax
mov ecx, 0x2f3bf8
call fcn.00263687
test eax, eax
je 0x243480
push eax
lea ecx, [esp + 0x1c]
push str.FF01__ChangePassword__d
push ecx
call fcn.002414a0
mov edx, dword [esp + 0x24]
add esp, 0xc
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esp + 0x18]
mov esi, eax
call fcn.00241910
mov eax, esi
jmp 0x243521
mov edi, 0x2d
push 1
push 0
push 0
push 0
lea eax, [esp + 0x9c]
push eax
call ebx
test eax, eax
je 0x2434cb
mov esi, dword [sym.imp.USER32.dll_DispatchMessageW]
lea ecx, [esp + 0x8c]
push ecx
call ebp
lea edx, [esp + 0x8c]
push edx
call esi
push 1
push 0
push 0
push 0
lea eax, [esp + 0x9c]
push eax
call ebx
test eax, eax
jne 0x2434a1
xor esi, esi
lea ecx, [ecx]
call fcn.0028e52e
mov eax, dword [eax + 4]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x60]
push esi
call eax
inc esi
test eax, eax
jne 0x2434d0
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
sub edi, 1
jne 0x243485
mov dword [esp + 0x36c], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x24351f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x364]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x348]
xor ecx, esp
call fcn.002a105e
add esp, 0x35c
ret