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

Disassembly:
push 0xffffffffffffffff
push 0x48da48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x138
mov al, byte [esp + 7]
push ebx
push ebp
push esi
mov ebp, ecx
xor ebx, ebx
push edi
push ebx
lea ecx, [esp + 0x94]
mov byte [esp + 0x94], al
call fcn.004024d0
mov edi, 0x4a643c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x4a643c
lea ecx, [esp + 0x98]
call fcn.00402840
mov si, word [ebp + 0xf8]
mov dword [esp + 0x150], ebx
cmp si, bx
je 0x4409fa
xor ecx, ecx
mov eax, 0x38e38e39
mov cx, word [ebp + 0xfa]
imul ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
cmp eax, 2
jne 0x440fdc
and dword [esp + 0x158], esi
mov eax, dword [esp + 0x158]
xor edx, edx
and eax, 0xffff
lea ecx, [esp + 0x30]
push eax
mov dword [esp + 0x34], edx
push str._04x
push ecx
mov byte [esp + 0x40], dl
call fcn.0047edef
lea edi, [esp + 0x3c]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edx, [esp + 0x30]
push ecx
push edx
lea ecx, [esp + 0x98]
call fcn.0040f8b0
lea eax, [esp + 0x17]
lea ecx, [esp + 0x44]
push eax
call fcn.0041aeb0
lea ecx, [esp + 0x2f]
mov byte [esp + 0x150], 1
push ecx
lea ecx, [esp + 0x58]
call fcn.0041aeb0
xor edx, edx
xor eax, eax
lea ecx, [esp + 0x2e]
mov dword [esp + 0x64], edx
mov dword [esp + 0x6a], eax
push ecx
lea ecx, [esp + 0x74]
mov byte [esp + 0x154], 2
mov word [esp + 0x6c], dx
mov word [esp + 0x72], ax
call fcn.0041aeb0
lea edx, [esp + 0x13]
lea ecx, [esp + 0x80]
push edx
mov byte [esp + 0x154], 3
call fcn.0041aeb0
mov edi, 0x4a643c
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x150], 4
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x4a643c
lea ecx, [esp + 0x4c]
call fcn.00402840
mov edi, 0x4a643c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x4a643c
lea ecx, [esp + 0x5c]
call fcn.00402840
mov edi, 0x4a643c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x4a643c
lea ecx, [esp + 0x78]
call fcn.00402840
mov edi, 0x4a643c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x4a643c
lea ecx, [esp + 0x88]
call fcn.00402840
mov edi, 0x4a643c
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x150], 5
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x4a643c
lea ecx, [esp + 0x5c]
call fcn.00402840
mov eax, dword [0x49014c]
lea ecx, [esp + 0x90]
push eax
push ebx
push ecx
lea ecx, [esp + 0x50]
call fcn.0040f3e0
mov esi, dword [esp + 0x15c]
mov edi, dword [esp + 0x160]
push esi
lea edx, [esp + 0x74]
push edi
push edx
mov ecx, ebp
call fcn.004449d0
mov al, byte [esp + 0x13]
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x18], al
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
push ebx
push ebx
lea ecx, [esp + 0x20]
mov byte [esp + 0x158], 6
call fcn.00429a60
push esi
lea ecx, [esp + 0x1c]
push edi
lea edx, [esp + 0x4c]
push ecx
push edx
mov ecx, ebp
call fcn.004452a0
mov edx, dword [esp + 0x1c]
cmp edx, ebx
je 0x440bda
mov edi, dword [esp + 0x20]
mov eax, edi
sub eax, edx
test eax, 0xfffffff0
jne 0x440c4f
mov cl, byte [esp + 0x13]
push ebx
mov byte [esp + 0xa4], cl
lea ecx, [esp + 0xa4]
call fcn.004024d0
mov edi, 0x4a643c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x4a643c
lea ecx, [esp + 0xa8]
call fcn.00402840
mov eax, dword [esp + 0x20]
lea edx, [esp + 0xa0]
push edx
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x158], 7
call fcn.004298d0
push 1
lea ecx, [esp + 0xa4]
mov byte [esp + 0x154], 6
call fcn.004024d0
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x28], ebx
cmp edx, ebx
je 0x440ffc
mov eax, dword [esp + 0x38]
mov ecx, edi
sub ecx, edx
sar ecx, 4
cmp eax, ecx
jae 0x440ffc
mov ecx, 0x18
xor eax, eax
lea edi, [esp + 0xe5]
mov byte [esp + 0xe4], bl
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x28]
mov byte [esp + 0x3c], bl
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [0x49014c]
add edx, ecx
push eax
push ebx
push edx
lea ecx, [esp + 0x60]
call fcn.0040f3e0
mov eax, dword [esp + 0x5c]
cmp eax, ebx
jbe 0x440ce2
shr eax, 1
mov byte [esp + 0x3c], al
mov eax, dword [esp + 0x58]
cmp eax, ebx
jne 0x440cc2
mov eax, 0x490148
mov esi, dword [esp + 0x3c]
mov edx, esi
and edx, 0xff
push edx
push eax
lea eax, [esp + 0xec]
push eax
call fcn.00471eb0
add esp, 0xc
jmp 0x440ce6
mov esi, dword [esp + 0x3c]
mov eax, dword [esp + 0x158]
xor ecx, ecx
mov byte [esp + 0x15], bl
mov cl, ah
mov byte [esp + 0x15], al
lea edx, [esp + 0x54]
mov byte [esp + 0x14], cl
lea eax, [esp + 0x44]
push edx
lea ecx, [esp + 0xa4]
push eax
push ecx
call fcn.00419200
add esp, 0xc
mov edx, dword [0x49014c]
lea ecx, [esp + 0x80]
push edx
push ebx
push eax
mov byte [esp + 0x15c], 8
call fcn.0040f3e0
push 1
lea ecx, [esp + 0xa4]
mov byte [esp + 0x154], 6
call fcn.004024d0
lea ecx, [esp + 0xb0]
call fcn.00472390
mov eax, dword [ebp + 0xcc]
lea ecx, [esp + 0xb0]
push eax
mov byte [esp + 0x154], 9
call fcn.0045a230
test eax, eax
je 0x440f3e
mov eax, dword [ebp + 0x9c]
cmp eax, 0xffffffff
je 0x440db2
lea ecx, [esp + 0x80]
and esi, 0xff
push ecx
push eax
shl esi, 3
lea edx, [esp + 0xec]
push esi
push edx
lea eax, [esp + 0x24]
push 0x10
push eax
lea ecx, [esp + 0xc8]
call fcn.00472980
mov eax, dword [esp + 0x88]
lea esi, [eax - 1]
cmp eax, esi
ja 0x440dc5
call fcn.0047e3c7
lea ecx, [esp + 0x80]
call fcn.00413210
mov ecx, dword [esp + 0x84]
cmp byte [ecx + esi], 0x2d
jne 0x440e2f
mov edx, dword [esp + 0x88]
lea eax, [esp + 0xd4]
dec edx
lea ecx, [esp + 0x80]
push edx
push ebx
push eax
call fcn.00418dd0
mov ecx, dword [0x49014c]
mov byte [esp + 0x150], 0xd
push ecx
push ebx
push eax
lea ecx, [esp + 0x8c]
call fcn.0040f3e0
push 1
lea ecx, [esp + 0xd8]
mov byte [esp + 0x154], 9
call fcn.004024d0
mov dword [esp + 0x40], ebx
lea edi, [ebp + 0x34]
xor esi, esi
mov eax, dword [edi + 4]
cmp eax, ebx
je 0x440ef7
mov ecx, dword [edi + 8]
sub ecx, eax
mov eax, 0x6bca1af3
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [esp + 0x40]
cmp eax, edx
jae 0x440ef7
mov eax, dword [ebp + 0x38]
mov ecx, dword [eax + esi + 8]
mov eax, dword [eax + esi + 4]
cmp eax, ebx
jne 0x440e79
mov eax, 0x490148
push ecx
mov ecx, dword [esp + 0x50]
push eax
push ecx
push ebx
lea ecx, [esp + 0x54]
call fcn.004037d0
cmp eax, ebx
jne 0x440eb7
mov eax, dword [ebp + 0x38]
mov ecx, dword [eax + esi + 0x18]
mov eax, dword [eax + esi + 0x14]
cmp eax, ebx
jne 0x440ea2
mov eax, 0x490148
mov edx, dword [esp + 0x5c]
push ecx
push eax
push edx
push ebx
lea ecx, [esp + 0x64]
call fcn.004037d0
cmp eax, ebx
je 0x440f09
mov eax, dword [ebp + 0x38]
mov ecx, dword [eax + esi + 8]
mov eax, dword [eax + esi + 4]
cmp eax, ebx
jne 0x440ecb
mov eax, 0x490148
push ecx
push eax
mov eax, dword [esp + 0x54]
lea ecx, [esp + 0x4c]
push eax
push ebx
call fcn.004037d0
cmp eax, ebx
jne 0x440ee6
cmp dword [esp + 0x5c], ebx
je 0x440f09
mov ecx, dword [esp + 0x40]
inc ecx
add esi, 0x4c
mov dword [esp + 0x40], ecx
jmp 0x440e38
mov eax, dword [edi + 8]
lea ecx, [esp + 0x44]
push ecx
push 1
push eax
mov ecx, edi
call fcn.004468c0
lea ecx, [esp + 0xb0]
mov byte [esp + 0x150], 6
call fcn.004724e0
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
inc ecx
add eax, 0x10
mov dword [esp + 0x38], ecx
mov dword [esp + 0x28], eax
jmp 0x440c57
lea ecx, [esp + 0xb0]
mov byte [esp + 0x150], 6
call fcn.004724e0
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
cmp esi, edi
mov byte [esp + 0x150], 5
je 0x440f79
push ebx
mov ecx, esi
call fcn.00425de0
add esi, 0x10
cmp esi, edi
jne 0x440f66
mov esi, dword [esp + 0x1c]
push esi
call fcn.0047e190
add esp, 4
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
push 1
lea ecx, [esp + 0x84]
mov byte [esp + 0x154], 0xc
call fcn.004024d0
push 1
lea ecx, [esp + 0x74]
mov byte [esp + 0x154], 0xb
call fcn.004024d0
push 1
lea ecx, [esp + 0x58]
mov byte [esp + 0x154], 0xa
call fcn.004024d0
push 1
lea ecx, [esp + 0x48]
mov byte [esp + 0x154], bl
call fcn.004024d0
push 1
lea ecx, [esp + 0x94]
mov dword [esp + 0x154], 0xffffffff
call fcn.004024d0
xor eax, eax
jmp 0x4410cb
cmp edx, edi
mov byte [esp + 0x150], 5
mov esi, edx
je 0x44101e
push 1
mov ecx, esi
call fcn.004024d0
add esi, 0x10
cmp esi, edi
jne 0x44100a
mov edx, dword [esp + 0x1c]
push edx
call fcn.0047e190
add esp, 4
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
push 1
lea ecx, [esp + 0x84]
mov byte [esp + 0x154], 0x10
call fcn.004024d0
push 1
lea ecx, [esp + 0x74]
mov byte [esp + 0x154], 0xf
call fcn.004024d0
push 1
lea ecx, [esp + 0x58]
mov byte [esp + 0x154], 0xe
call fcn.004024d0
mov ecx, dword [esp + 0x48]
cmp ecx, ebx
je 0x441093
mov al, byte [ecx - 1]
cmp al, bl
je 0x441089
cmp al, 0xff
je 0x441089
dec al
mov byte [ecx - 1], al
jmp 0x441093
dec ecx
push ecx
call fcn.0047e190
add esp, 4
mov ecx, dword [esp + 0x94]
mov dword [esp + 0x48], ebx
cmp ecx, ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
je 0x4410c6
mov al, byte [ecx - 1]
cmp al, bl
je 0x4410bc
cmp al, 0xff
je 0x4410bc
dec al
mov byte [ecx - 1], al
jmp 0x4410c6
dec ecx
push ecx
call fcn.0047e190
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x148]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x144
ret 0xc