Function at 0x482240
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xc
push ebx
mov ebx, dword [esp + 0x14]
push ebp
push esi
mov eax, dword [ebx + 0x3a98]
mov ecx, dword [ebx]
mov dword [esp + 0x10], eax
mov eax, dword [0x6c7d78]
xor esi, esi
xor ebp, ebp
push edi
mov edi, dword [ebx + 0x2a0]
cmp eax, esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x18], ecx
jne 0x48229c
cmp dword [0x6c7d7c], esi
jne 0x48229c
cmp dword [0x6c7d80], esi
jne 0x48229c
mov eax, dword [0x6c7b30]
cmp eax, esi
je 0x48229c
cmp dword [eax + 0x4934], esi
je 0x48229c
push ebx
call fcn.00476a20
add esp, 4
cmp dword [0x6c7d78], 1
jne 0x482323
push 0x800
call fcn.004b6a20
add esp, 4
cmp eax, esi
mov dword [esp + 0x10], eax
je 0x482528
push str.Please_input_password:
call fcn.004f4f50
push esi
call fcn.004f4f40
mov edx, dword [0x6c7d74]
add esp, 8
cmp word [edx + 0x10160], si
lea eax, [edx + 0x10160]
je 0x4822f6
push eax
mov eax, dword [esp + 0x14]
push eax
call fcn.004f59f2
add esp, 8
jmp 0x48230d
mov ecx, dword [esp + 0x10]
push 0x670600
push 0x80
push ecx
call fcn.004f4f50
add esp, 0xc
push 1
call fcn.004f4f40
push 0x615af0
call fcn.004f4f50
add esp, 8
jmp 0x48235b
push str.Please_input_the_password:
push 0x1504
call fcn.004dd120
lea edx, [esp + 0x18]
lea ecx, [esp + 0x28]
push edx
mov edx, dword [esp + 0x24]
push ecx
push esi
push esi
push edx
push eax
push 6
call fcn.004ba3b0
mov eax, dword [esp + 0x44]
add esp, 0x24
cmp eax, 2
je 0x482453
cmp edi, esi
je 0x482366
mov eax, 0x40
jmp 0x482375
mov eax, dword [esp + 0x14]
neg eax
sbb eax, eax
and al, 0x20
add eax, 0x100
mov ecx, dword [esp + 0x10]
push eax
mov eax, dword [0x683854]
push 1
push eax
push ecx
call fcn.0047b260
add esp, 0x10
test eax, eax
je 0x4823f5
cmp edi, esi
je 0x48247f
cmp ebp, esi
jne 0x4823b2
push 0x400
call fcn.004b6a20
mov ebp, eax
add esp, 4
cmp ebp, esi
je 0x482528
mov edx, dword [0x683854]
push edx
push edi
call fcn.004c3f50
add esp, 8
test eax, eax
je 0x4823f5
mov eax, dword [esp + 0x24]
push 0x80
add eax, 0x10
push ebp
push eax
push edi
call fcn.004c4190
push 0x80
push ebp
call fcn.004c1b10
mov ecx, dword [esp + 0x3c]
add esp, 0x18
cmp dword [ecx + 0xc], eax
je 0x482477
mov edx, dword [esp + 0x10]
push edx
call fcn.004b6a50
mov eax, dword [0x6c7d78]
add esp, 4
cmp eax, 1
mov dword [esp + 0x10], esi
jne 0x48242d
push 0xc
push str.Password_wrong__Do_you_want_to_try_again_
call fcn.004f4f50
add esp, 8
cmp eax, 8
je 0x482528
jmp 0x48229c
lea eax, [esp + 0x20]
push esi
push eax
push esi
push esi
push esi
push esi
push 7
call fcn.004ba3b0
mov eax, dword [esp + 0x3c]
add esp, 0x1c
cmp eax, 2
je 0x482528
jmp 0x48229c
mov ecx, dword [esp + 0x10]
push ecx
call fcn.004b6a50
add esp, 4
mov dword [esp + 0x10], esi
push ebp
call fcn.004b6a50
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
lea edx, [edi + 0x9d30]
jmp 0x482499
mov edx, dword [esp + 0x14]
cmp edx, esi
je 0x4824bc
add edx, 0x23c
mov ecx, 8
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov edi, dword [0x683854]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [0x683854]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebx + 0x78]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, edx
or ecx, 0xffffffff
mov dword [ebx + 0x74], 1
lea esi, [ebx + 0x180]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, esi
mov edx, ecx
mov esi, edi
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x10]
mov esi, 1
push ecx
mov dword [ebx + 0x17c], esi
call fcn.004b6a50
add esp, 4
push ebp
call fcn.004b6a50
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret