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

Disassembly:
push 0xffffffffffffffff
push 0x471828
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
mov al, byte [esp + 3]
push ebx
push ebp
push esi
mov dword [esp + 0x24], ecx
xor ebx, ebx
push edi
push ebx
lea ecx, [esp + 0x40]
mov byte [esp + 0x40], al
call fcn.00413460
mov edi, str.PIN:
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x40]
push ebp
call fcn.00413860
test al, al
je 0x411609
mov edi, dword [esp + 0x40]
mov ecx, ebp
mov edx, ecx
mov esi, str.PIN:
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x44], ebp
mov byte [eax + ebp], bl
push ebx
lea ecx, [esp + 0x24]
mov dword [esp + 0x78], ebx
call fcn.0044e5e0
lea ecx, [esp + 0x24]
mov byte [esp + 0x74], 1
call fcn.0044e5b0
lea ecx, [esp + 0x14]
mov byte [esp + 0x74], 2
call fcn.0044e5b0
mov cl, byte [esp + 0x13]
xor esi, esi
xor ebp, ebp
mov byte [esp + 0x4c], cl
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
push 7
push 0x486cd8
lea ecx, [esp + 0x24]
mov byte [esp + 0x7c], 4
call fcn.0044e650
push 4
push 0x4865cc
lea ecx, [esp + 0x20]
mov byte [esp + 0x7c], 5
call fcn.0044e650
push ebx
push 4
push ecx
mov byte [esp + 0x80], 6
mov ecx, esp
mov dword [esp + 0x38], esp
push 6
push 0x4865e4
call fcn.0044e650
push ecx
mov byte [esp + 0x84], 7
mov ecx, esp
mov dword [esp + 0x40], esp
push 6
push 0x486c04
call fcn.0044e650
mov ecx, 0x4937b8
mov byte [esp + 0x84], 6
call fcn.004570c0
cmp ax, 4
jne 0x41175b
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx]
call dword [edx + 4]
lea ecx, [esp + 0x18]
mov byte [esp + 0x74], 5
call fcn.0044e6f0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x74], 4
call fcn.0044e6f0
mov eax, dword [esp + 0x50]
push eax
call fcn.00467320
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov byte [esp + 0x74], 2
call fcn.0044e6f0
lea ecx, [esp + 0x24]
mov byte [esp + 0x74], 1
call fcn.0044e6f0
lea ecx, [esp + 0x20]
mov byte [esp + 0x74], bl
call fcn.0044e6f0
push 1
lea ecx, [esp + 0x40]
mov dword [esp + 0x78], 0xffffffff
call fcn.00413460
or ax, 0xffff
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret
push ebx
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push 6
push 0x4865e4
call fcn.0044e650
push ecx
mov byte [esp + 0x84], 8
mov ecx, esp
mov dword [esp + 0x3c], esp
push 6
push 0x486bb8
call fcn.0044e650
mov ecx, 0x4937b8
mov byte [esp + 0x84], 6
call fcn.004570c0
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call fcn.0044e5c0
lea ecx, [esp + 0x24]
call fcn.0044e790
mov edi, 0x3a00
mov eax, edi
lea ecx, [esp + 0x1c]
sar eax, 8
push eax
push 4
call fcn.0044e8d0
push edi
push 5
lea ecx, [esp + 0x24]
call fcn.0044e8d0
lea ecx, [esp + 0x14]
lea edx, [esp + 0x1c]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
call fcn.0044e5c0
call fcn.004291b0
add esp, 8
cmp ax, bx
jle 0x4116d3
lea eax, [esp + 0x4c]
lea edx, [esp + 0x14]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
call fcn.0044e5c0
push ecx
lea eax, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
mov byte [esp + 0x84], 9
call fcn.0044e5c0
mov ecx, dword [esp + 0x34]
mov byte [esp + 0x80], 6
call fcn.00411360
cmp eax, 0x1869f
jg 0x41197a
cmp eax, 0xffffffff
je 0x411868
cmp si, bx
jne 0x41185e
mov ebp, eax
mov esi, 1
jmp 0x411868
cmp eax, ebp
je 0x411b64
mov ebp, eax
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call fcn.0044e5c0
lea ecx, [esp + 0x24]
call fcn.0044e790
add edi, 0x10
cmp edi, 0x4000
jl 0x4117bc
lea ecx, [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
call fcn.0044e5c0
call fcn.004291b0
add esp, 8
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push 6
push 0x4865e4
call fcn.0044e650
push ecx
mov byte [esp + 0x84], 0xe
mov ecx, esp
mov dword [esp + 0x3c], esp
push 6
push 0x486c24
call fcn.0044e650
mov ecx, 0x4937b8
mov byte [esp + 0x84], 6
call fcn.004570c0
lea ecx, [esp + 0x18]
mov byte [esp + 0x74], 5
call fcn.0044e6f0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x74], 4
call fcn.0044e6f0
mov eax, dword [esp + 0x50]
push eax
call fcn.00467320
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov byte [esp + 0x74], 2
call fcn.0044e6f0
lea ecx, [esp + 0x24]
mov byte [esp + 0x74], 1
call fcn.0044e6f0
lea ecx, [esp + 0x20]
mov byte [esp + 0x74], bl
call fcn.0044e6f0
mov eax, dword [esp + 0x40]
cmp eax, ebx
je 0x411dfa
mov cl, byte [eax - 1]
cmp cl, bl
je 0x411df0
cmp cl, 0xff
je 0x411df0
dec cl
mov byte [eax - 1], cl
jmp 0x411dfa
mov ecx, dword [esp + 0x50]
mov edx, dword [ecx + eax*4 - 0x61a7c]
lea eax, [esp + 0x34]
push edx
push str._.5d
push eax
call fcn.00467c1a
add esp, 0xc
lea ecx, [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
call fcn.0044e5c0
call fcn.004291b0
lea edi, [esp + 0x3c]
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
mov eax, dword [0x47814c]
mov edx, dword [esp + 0x44]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x4119da
call fcn.00467340
cmp esi, ebx
jbe 0x411a1e
mov ecx, dword [esp + 0x44]
push ebx
lea ebp, [ecx + esi]
lea ecx, [esp + 0x40]
push ebp
call fcn.00413860
test al, al
je 0x411a1e
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
mov ecx, esi
lea esi, [esp + 0x34]
lea edi, [eax + edx]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x44], ebp
mov byte [eax + ebp], bl
mov edi, 0x486c34
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x44]
repne scasb al, byte es:[edi]
mov eax, dword [0x47814c]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x411a43
call fcn.00467340
cmp esi, ebx
jbe 0x411a88
mov ecx, dword [esp + 0x44]
push ebx
lea ebp, [ecx + esi]
lea ecx, [esp + 0x40]
push ebp
call fcn.00413860
test al, al
je 0x411a88
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
mov ecx, esi
mov esi, 0x486c34
lea edi, [eax + edx]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x44], ebp
mov byte [eax + ebp], bl
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push 6
push 0x486c2c
call fcn.0044e650
lea ecx, [esp + 0x60]
push ecx
call fcn.0045ad10
add esp, 8
mov edx, dword [0x47814c]
lea ecx, [esp + 0x3c]
push edx
push ebx
push eax
mov byte [esp + 0x80], 0xa
call fcn.004134e0
mov eax, dword [esp + 0x60]
mov byte [esp + 0x74], 6
cmp eax, ebx
je 0x411aec
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x411ae3
cmp al, 0xff
je 0x411ae3
dec al
mov byte [ecx], al
jmp 0x411aec
push ecx
call fcn.00467320
add esp, 4
push ebx
push 1
sub esp, 0x10
mov esi, esp
mov dword [esp + 0x48], esp
push ecx
mov ecx, esp
mov dword [esp + 0x48], esp
push 6
push 0x4865e4
call fcn.0044e650
push esi
call fcn.0045ad10
sub esp, 8
lea eax, [esp + 0x64]
mov ecx, esp
mov dword [esp + 0x54], esp
push eax
mov byte [esp + 0xa0], 0xb
call fcn.00412e80
mov ecx, 0x4937b8
mov byte [esp + 0x9c], 6
call fcn.00457010
lea ecx, [esp + 0x18]
mov byte [esp + 0x74], 5
call fcn.0044e6f0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x74], 4
call fcn.0044e6f0
mov ecx, dword [esp + 0x50]
push ecx
jmp 0x411d95
push eax
lea edx, [esp + 0x38]
push str._.5d
push edx
call fcn.00467c1a
add esp, 0xc
lea eax, [esp + 0x14]
lea edx, [esp + 0x18]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
call fcn.0044e5c0
call fcn.004291b0
lea edi, [esp + 0x3c]
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
mov eax, dword [0x47814c]
mov edx, dword [esp + 0x44]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x411bb9
call fcn.00467340
cmp esi, ebx
jbe 0x411bfd
mov ecx, dword [esp + 0x44]
push ebx
lea ebp, [ecx + esi]
lea ecx, [esp + 0x40]
push ebp
call fcn.00413860
test al, al
je 0x411bfd
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
mov ecx, esi
lea esi, [esp + 0x34]
lea edi, [eax + edx]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x44], ebp
mov byte [eax + ebp], bl
mov edi, 0x486c34
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x44]
repne scasb al, byte es:[edi]
mov eax, dword [0x47814c]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x411c22
call fcn.00467340
cmp esi, ebx
jbe 0x411c67
mov ecx, dword [esp + 0x44]
push ebx
lea ebp, [ecx + esi]
lea ecx, [esp + 0x40]
push ebp
call fcn.00413860
test al, al
je 0x411c67
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
mov ecx, esi
mov esi, 0x486c34
lea edi, [eax + edx]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x44], ebp
mov byte [eax + ebp], bl
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push 6
push 0x486c2c
call fcn.0044e650
lea ecx, [esp + 0x60]
push ecx
call fcn.0045ad10
add esp, 8
mov edi, eax
mov eax, dword [0x47814c]
mov ecx, dword [edi + 8]
mov esi, eax
mov byte [esp + 0x74], 0xc
cmp ecx, esi
jae 0x411c9e
mov esi, ecx
sub eax, dword [esp + 0x44]
cmp eax, esi
ja 0x411cab
call fcn.00467340
cmp esi, ebx
jbe 0x411cf8
mov edx, dword [esp + 0x44]
push ebx
lea ecx, [esp + 0x40]
lea ebp, [edx + esi]
push ebp
call fcn.00413860
test al, al
je 0x411cf8
mov eax, dword [edi + 4]
cmp eax, ebx
jne 0x411cd1
mov eax, 0x478288
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
push ebp
lea edi, [edx + ecx]
mov ecx, esi
mov esi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x40]
call fcn.00413840
mov eax, dword [esp + 0x60]
mov byte [esp + 0x74], 6
cmp eax, ebx
je 0x411d22
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x411d19
cmp al, 0xff
je 0x411d19
dec al
mov byte [ecx], al
jmp 0x411d22
push ecx
call fcn.00467320
add esp, 4
push ebx
push 1
sub esp, 0x10
mov esi, esp
mov dword [esp + 0x48], esp
push ecx
mov ecx, esp
mov dword [esp + 0x48], esp
push 6
push 0x4865e4
call fcn.0044e650
push esi
call fcn.0045ad10
sub esp, 8
lea edx, [esp + 0x64]
mov ecx, esp
mov dword [esp + 0x54], esp
push edx
mov byte [esp + 0xa0], 0xd
call fcn.00412e80
mov ecx, 0x4937b8
mov byte [esp + 0x9c], 6
call fcn.00457010
lea ecx, [esp + 0x18]
mov byte [esp + 0x74], 5
call fcn.0044e6f0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x74], 4
call fcn.0044e6f0
mov eax, dword [esp + 0x50]
push eax
call fcn.00467320
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov byte [esp + 0x74], 2
call fcn.0044e6f0
lea ecx, [esp + 0x24]
mov byte [esp + 0x74], 1
call fcn.0044e6f0
lea ecx, [esp + 0x20]
mov byte [esp + 0x74], bl
call fcn.0044e6f0
mov ecx, dword [esp + 0x40]
cmp ecx, ebx
je 0x411dfa
mov al, byte [ecx - 1]
cmp al, bl
je 0x411dec
cmp al, 0xff
je 0x411dec
dec al
mov byte [ecx - 1], al
jmp 0x411dfa
dec ecx
push ecx
jmp 0x411df2
dec eax
push eax
call fcn.00467320
add esp, 4
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebp
mov ax, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x68
ret