Function at 0x412690
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4b6080
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
push ebx
push esi
push edi
mov edi, dword [esp + 0x78]
mov dword [esp + 0x10], ecx
xor ebx, ebx
mov al, byte [edi + 0xc]
lea esi, [edi + 0xc]
push ebx
lea ecx, [esp + 0x28]
mov byte [esp + 0x28], al
call fcn.004061f0
mov ecx, dword [0x4b9364]
push ecx
push ebx
push esi
lea ecx, [esp + 0x30]
call fcn.00405de0
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x70], ebx
cmp eax, ebx
mov eax, dword [esp + 0x28]
jne 0x412706
cmp eax, ebx
jne 0x4126f3
mov eax, 0x4b9360
push eax
push str.except:_store_someone_outof_mem:__s
call fcn.0042feb0
add esp, 8
jmp 0x412964
cmp eax, ebx
jne 0x41270f
mov eax, 0x4b9360
push ebp
push eax
push str.store_someone:__s
call fcn.0042feb0
mov dl, byte [esp + 0x84]
mov ebp, dword [edi + 0x20]
add esp, 8
lea ecx, [esp + 0x1c]
mov dword [edi + 0x20], ebx
mov byte [esp + 0x1c], dl
push ebx
push ebx
call fcn.00416460
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ebx
mov ecx, dword [edi + 0x28]
mov byte [esp + 0x74], 1
mov edx, dword [ecx]
cmp edx, ecx
mov dword [esp + 0x10], edx
je 0x4128b4
mov al, byte [edx + 0xc]
lea esi, [edx + 0xc]
push ebx
lea ecx, [esp + 0x3c]
mov byte [esp + 0x3c], al
call fcn.004061f0
mov ecx, dword [0x4b9364]
push ecx
push ebx
push esi
lea ecx, [esp + 0x44]
call fcn.00405de0
mov edx, dword [esp + 0x10]
mov byte [esp + 0x74], 2
mov eax, dword [edx + 0x30]
lea esi, [edx + 0x1c]
cmp eax, ebx
je 0x412888
cmp byte [esi + 0x10], bl
je 0x4127a2
cmp byte [eax], bl
jne 0x412888
mov al, byte [esp + 0x7c]
push ebx
lea ecx, [esp + 0x4c]
mov byte [esp + 0x4c], al
call fcn.004061f0
lea ecx, [esp + 0x7c]
mov byte [esp + 0x74], 3
push ecx
lea ecx, [esp + 0x5c]
call fcn.00405400
mov edx, dword [0x4b9364]
lea eax, [esp + 0x38]
push edx
push ebx
push eax
lea ecx, [esp + 0x54]
mov byte [esp + 0x80], 4
call fcn.00405de0
mov ecx, dword [0x4b9364]
push ecx
push ebx
push esi
lea ecx, [esp + 0x64]
call fcn.00405de0
mov dl, byte [esi + 0x10]
mov byte [esp + 0x68], dl
mov eax, dword [esi + 0x14]
lea edx, [esp + 0x48]
mov cl, byte [eax]
mov eax, dword [esp + 0x20]
mov byte [esp + 0x69], cl
push edx
lea ecx, [esp + 0x1c]
push eax
push ecx
lea ecx, [esp + 0x28]
call fcn.004163a0
cmp ebp, ebx
jne 0x41284c
mov cl, byte [esi + 0x10]
mov eax, dword [esi + 0x18]
xor edx, edx
cmp cl, bl
setne dl
cmp edx, eax
jne 0x412847
mov eax, dword [esi + 0x14]
xor ecx, ecx
mov dl, byte [eax]
mov eax, dword [esi + 0x1c]
cmp dl, bl
setne cl
cmp ecx, eax
je 0x41284c
mov ebp, 1
mov al, byte [esi + 0x10]
xor edx, edx
cmp al, bl
mov eax, dword [esi + 0x14]
setne dl
mov dword [esi + 0x18], edx
mov dl, byte [eax]
xor ecx, ecx
cmp dl, bl
setne cl
mov dword [esi + 0x1c], ecx
push 1
lea ecx, [esp + 0x5c]
mov byte [esp + 0x78], 5
call fcn.004061f0
push 1
lea ecx, [esp + 0x4c]
mov byte [esp + 0x78], 2
call fcn.004061f0
push 1
lea ecx, [esp + 0x3c]
mov byte [esp + 0x78], 1
call fcn.004061f0
lea ecx, [esp + 0x10]
call fcn.00417800
mov eax, dword [edi + 0x28]
mov edx, dword [esp + 0x10]
cmp edx, eax
jne 0x412758
mov eax, dword [esp + 0x20]
cmp ebp, ebx
pop ebp
jne 0x4128fc
mov ecx, dword [eax]
push eax
lea edx, [esp + 0x7c]
push ecx
push edx
lea ecx, [esp + 0x24]
mov byte [esp + 0x7c], bl
call fcn.00416400
mov eax, dword [esp + 0x1c]
push eax
call fcn.004a5c41
add esp, 4
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
push 1
mov dword [esp + 0x74], 0xffffffff
call fcn.004061f0
jmp 0x4129e0
lea ecx, [esp + 0x18]
lea edx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x14]
push edx
call fcn.00412ec0
test eax, eax
jne 0x41298d
mov eax, dword [esp + 0x28]
mov dword [edi + 0x20], 1
cmp eax, ebx
jne 0x412927
mov eax, 0x4b9360
push eax
push str.error:_store_someone:__s
call fcn.0042feb0
mov eax, dword [esp + 0x24]
add esp, 8
mov byte [esp + 0x70], bl
mov ecx, dword [eax]
push eax
lea eax, [esp + 0x7c]
push ecx
push eax
lea ecx, [esp + 0x24]
call fcn.00416400
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.004a5c41
add esp, 4
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
push 1
lea ecx, [esp + 0x28]
mov dword [esp + 0x74], 0xffffffff
call fcn.004061f0
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
add esp, 0x68
ret 4
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x14]
push eax
mov byte [esp + 0x74], bl
mov ecx, dword [eax]
push ecx
push edx
lea ecx, [esp + 0x24]
call fcn.00416400
mov eax, dword [esp + 0x1c]
push eax
call fcn.004a5c41
mov ecx, dword [esp + 0x2c]
add esp, 4
cmp ecx, ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
je 0x4129e0
mov al, byte [ecx - 1]
cmp al, bl
je 0x4129d6
cmp al, 0xff
je 0x4129d6
dec al
mov byte [ecx - 1], al
jmp 0x4129e0
dec ecx
push ecx
call fcn.004a5c41
add esp, 4
mov ecx, dword [esp + 0x68]
pop edi
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x68
ret 4