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

Disassembly:
push 0xffffffffffffffff
push 0x4e80b8
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.00414090
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.004144a0
test al, al
je 0x4109b9
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.004be1d0
lea ecx, [esp + 0x24]
mov byte [esp + 0x74], 1
call fcn.004be1a0
lea ecx, [esp + 0x14]
mov byte [esp + 0x74], 2
call fcn.004be1a0
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 0x50fc6c
lea ecx, [esp + 0x24]
mov byte [esp + 0x7c], 4
call fcn.004be240
push 4
push 0x50f60c
lea ecx, [esp + 0x20]
mov byte [esp + 0x7c], 5
call fcn.004be240
push ebx
push 4
push ecx
mov byte [esp + 0x80], 6
mov ecx, esp
mov dword [esp + 0x38], esp
push 6
push 0x50f634
call fcn.004be240
push ecx
mov byte [esp + 0x84], 7
mov ecx, esp
mov dword [esp + 0x40], esp
push 6
push 0x50fb98
call fcn.004be240
mov ecx, 0x5200a8
mov byte [esp + 0x84], 6
call fcn.004caf10
cmp ax, 4
jne 0x410b0b
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx]
call dword [edx + 4]
lea ecx, [esp + 0x18]
mov byte [esp + 0x74], 5
call fcn.004be2e0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x74], 4
call fcn.004be2e0
mov eax, dword [esp + 0x50]
push eax
call fcn.004de1a0
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.004be2e0
lea ecx, [esp + 0x24]
mov byte [esp + 0x74], 1
call fcn.004be2e0
lea ecx, [esp + 0x20]
mov byte [esp + 0x74], bl
call fcn.004be2e0
push 1
lea ecx, [esp + 0x40]
mov dword [esp + 0x78], 0xffffffff
call fcn.00414090
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 0x50f634
call fcn.004be240
push ecx
mov byte [esp + 0x84], 8
mov ecx, esp
mov dword [esp + 0x3c], esp
push 6
push 0x50fb4c
call fcn.004be240
mov ecx, 0x5200a8
mov byte [esp + 0x84], 6
call fcn.004caf10
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call fcn.004be1b0
lea ecx, [esp + 0x24]
call fcn.004be4d0
mov edi, 0x3a00
mov eax, edi
lea ecx, [esp + 0x1c]
sar eax, 8
push eax
push 4
call fcn.004be5e0
push edi
push 5
lea ecx, [esp + 0x24]
call fcn.004be5e0
lea ecx, [esp + 0x14]
lea edx, [esp + 0x1c]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
call fcn.004be1b0
call fcn.0047d320
add esp, 8
cmp ax, bx
jle 0x410a83
lea eax, [esp + 0x4c]
lea edx, [esp + 0x14]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
call fcn.004be1b0
push ecx
lea eax, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
mov byte [esp + 0x84], 9
call fcn.004be1b0
mov ecx, dword [esp + 0x34]
mov byte [esp + 0x80], 6
call fcn.00410710
cmp eax, 0x1869f
jg 0x410d2a
cmp eax, 0xffffffff
je 0x410c18
cmp si, bx
jne 0x410c0e
mov ebp, eax
mov esi, 1
jmp 0x410c18
cmp eax, ebp
je 0x410f14
mov ebp, eax
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call fcn.004be1b0
lea ecx, [esp + 0x24]
call fcn.004be4d0
add edi, 0x10
cmp edi, 0x4000
jl 0x410b6c
lea ecx, [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
call fcn.004be1b0
call fcn.0047d320
add esp, 8
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push 6
push 0x50f634
call fcn.004be240
push ecx
mov byte [esp + 0x84], 0xe
mov ecx, esp
mov dword [esp + 0x3c], esp
push 6
push 0x50fbb8
call fcn.004be240
mov ecx, 0x5200a8
mov byte [esp + 0x84], 6
call fcn.004caf10
lea ecx, [esp + 0x18]
mov byte [esp + 0x74], 5
call fcn.004be2e0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x74], 4
call fcn.004be2e0
mov eax, dword [esp + 0x50]
push eax
call fcn.004de1a0
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.004be2e0
lea ecx, [esp + 0x24]
mov byte [esp + 0x74], 1
call fcn.004be2e0
lea ecx, [esp + 0x20]
mov byte [esp + 0x74], bl
call fcn.004be2e0
mov eax, dword [esp + 0x40]
cmp eax, ebx
je 0x4111aa
mov cl, byte [eax - 1]
cmp cl, bl
je 0x4111a0
cmp cl, 0xff
je 0x4111a0
dec cl
mov byte [eax - 1], cl
jmp 0x4111aa
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.004de8d6
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.004be1b0
call fcn.0047d320
lea edi, [esp + 0x3c]
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
mov eax, dword [0x4f73d0]
mov edx, dword [esp + 0x44]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x410d8a
call fcn.004de1ab
cmp esi, ebx
jbe 0x410dce
mov ecx, dword [esp + 0x44]
push ebx
lea ebp, [ecx + esi]
lea ecx, [esp + 0x40]
push ebp
call fcn.004144a0
test al, al
je 0x410dce
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, 0x50fbc8
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x44]
repne scasb al, byte es:[edi]
mov eax, dword [0x4f73d0]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x410df3
call fcn.004de1ab
cmp esi, ebx
jbe 0x410e38
mov ecx, dword [esp + 0x44]
push ebx
lea ebp, [ecx + esi]
lea ecx, [esp + 0x40]
push ebp
call fcn.004144a0
test al, al
je 0x410e38
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
mov ecx, esi
mov esi, 0x50fbc8
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 0x50fbc0
call fcn.004be240
lea ecx, [esp + 0x60]
push ecx
call fcn.004cfca0
add esp, 8
mov edx, dword [0x4f73d0]
lea ecx, [esp + 0x3c]
push edx
push ebx
push eax
mov byte [esp + 0x80], 0xa
call fcn.00414120
mov eax, dword [esp + 0x60]
mov byte [esp + 0x74], 6
cmp eax, ebx
je 0x410e9c
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x410e93
cmp al, 0xff
je 0x410e93
dec al
mov byte [ecx], al
jmp 0x410e9c
push ecx
call fcn.004de1a0
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 0x50f634
call fcn.004be240
push esi
call fcn.004cfca0
sub esp, 8
lea eax, [esp + 0x64]
mov ecx, esp
mov dword [esp + 0x54], esp
push eax
mov byte [esp + 0xa0], 0xb
call fcn.00413ad0
mov ecx, 0x5200a8
mov byte [esp + 0x9c], 6
call fcn.004cae60
lea ecx, [esp + 0x18]
mov byte [esp + 0x74], 5
call fcn.004be2e0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x74], 4
call fcn.004be2e0
mov ecx, dword [esp + 0x50]
push ecx
jmp 0x411145
push eax
lea edx, [esp + 0x38]
push str._.5d
push edx
call fcn.004de8d6
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.004be1b0
call fcn.0047d320
lea edi, [esp + 0x3c]
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
mov eax, dword [0x4f73d0]
mov edx, dword [esp + 0x44]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x410f69
call fcn.004de1ab
cmp esi, ebx
jbe 0x410fad
mov ecx, dword [esp + 0x44]
push ebx
lea ebp, [ecx + esi]
lea ecx, [esp + 0x40]
push ebp
call fcn.004144a0
test al, al
je 0x410fad
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, 0x50fbc8
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x44]
repne scasb al, byte es:[edi]
mov eax, dword [0x4f73d0]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x410fd2
call fcn.004de1ab
cmp esi, ebx
jbe 0x411017
mov ecx, dword [esp + 0x44]
push ebx
lea ebp, [ecx + esi]
lea ecx, [esp + 0x40]
push ebp
call fcn.004144a0
test al, al
je 0x411017
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
mov ecx, esi
mov esi, 0x50fbc8
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 0x50fbc0
call fcn.004be240
lea ecx, [esp + 0x60]
push ecx
call fcn.004cfca0
add esp, 8
mov edi, eax
mov eax, dword [0x4f73d0]
mov ecx, dword [edi + 8]
mov esi, eax
mov byte [esp + 0x74], 0xc
cmp ecx, esi
jae 0x41104e
mov esi, ecx
sub eax, dword [esp + 0x44]
cmp eax, esi
ja 0x41105b
call fcn.004de1ab
cmp esi, ebx
jbe 0x4110a8
mov edx, dword [esp + 0x44]
push ebx
lea ecx, [esp + 0x40]
lea ebp, [edx + esi]
push ebp
call fcn.004144a0
test al, al
je 0x4110a8
mov eax, dword [edi + 4]
cmp eax, ebx
jne 0x411081
mov eax, 0x4f7480
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.00414480
mov eax, dword [esp + 0x60]
mov byte [esp + 0x74], 6
cmp eax, ebx
je 0x4110d2
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4110c9
cmp al, 0xff
je 0x4110c9
dec al
mov byte [ecx], al
jmp 0x4110d2
push ecx
call fcn.004de1a0
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 0x50f634
call fcn.004be240
push esi
call fcn.004cfca0
sub esp, 8
lea edx, [esp + 0x64]
mov ecx, esp
mov dword [esp + 0x54], esp
push edx
mov byte [esp + 0xa0], 0xd
call fcn.00413ad0
mov ecx, 0x5200a8
mov byte [esp + 0x9c], 6
call fcn.004cae60
lea ecx, [esp + 0x18]
mov byte [esp + 0x74], 5
call fcn.004be2e0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x74], 4
call fcn.004be2e0
mov eax, dword [esp + 0x50]
push eax
call fcn.004de1a0
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.004be2e0
lea ecx, [esp + 0x24]
mov byte [esp + 0x74], 1
call fcn.004be2e0
lea ecx, [esp + 0x20]
mov byte [esp + 0x74], bl
call fcn.004be2e0
mov ecx, dword [esp + 0x40]
cmp ecx, ebx
je 0x4111aa
mov al, byte [ecx - 1]
cmp al, bl
je 0x41119c
cmp al, 0xff
je 0x41119c
dec al
mov byte [ecx - 1], al
jmp 0x4111aa
dec ecx
push ecx
jmp 0x4111a2
dec eax
push eax
call fcn.004de1a0
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