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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
call fcn.00473120
mov ebx, eax
mov eax, dword [edi + 0x48]
dec eax
mov dword [esp + 0x18], eax
mov eax, ebx
call fcn.00440ff0
cmp dword [ebp + 0x24], 0
mov esi, eax
mov dword [esp + 0x14], esi
jge 0x4664fa
mov eax, dword [ebp + 0x18]
movzx ecx, byte [eax + 0x18]
push 0
push esi
push ecx
push 0x88
push ebx
call fcn.00440c90
add esp, 0x14
mov edx, dword [ebp + 0x18]
xor eax, eax
cmp dword [edx + 0x14], eax
mov dword [esp + 0x1c], eax
jle 0x46656a
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ecx + eax*4]
mov eax, dword [ebp + 0x20]
lea ecx, [edx + eax + 1]
mov eax, dword [ebx + 0x20]
mov edx, dword [ebx + 0x18]
cmp dword [edx + 0x58], eax
jg 0x466532
push 0
push esi
push ecx
push 0x4c
mov eax, ebx
call fcn.00440c50
add esp, 0x10
jmp 0x466559
lea edx, [eax + 1]
mov dword [ebx + 0x20], edx
mov edx, dword [ebx + 4]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax], 0x4c
mov byte [eax + 3], 0
mov dword [eax + 8], esi
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebp + 0x18]
inc eax
cmp eax, dword [ecx + 0x14]
mov dword [esp + 0x1c], eax
jl 0x466508
cmp dword [ebp + 0x28], 0
jne 0x466a7b
cmp dword [ebp + 0x14], 0
jne 0x4666ea
mov al, byte [edi + 0x13]
test al, al
jne 0x46658d
inc dword [edi + 0x4c]
mov esi, dword [edi + 0x4c]
jmp 0x466599
dec al
movzx edx, al
mov byte [edi + 0x13], al
mov esi, dword [edi + edx*4 + 0x1c]
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ebp + 0x20]
push 0
push esi
lea eax, [ecx + edx + 1]
push eax
push 0x1f
push ebx
call fcn.00440c90
add esp, 0x14
push 0
push 0
push esi
push 0x26
push ebx
call fcn.00440c90
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x10]
add esp, 0x14
mov dword [esp + 0x24], eax
cmp edx, dword [ecx]
jne 0x466603
cmp dword [ebp + 0x24], 1
jne 0x466603
mov eax, dword [esp + 0x14]
mov ecx, dword [ebp + 0x20]
push esi
push eax
push ecx
push 0x4f
push ebx
call fcn.00440c90
mov edx, dword [ebx]
add esp, 0x14
cmp byte [edx + 0x45], 0
jne 0x466603
mov eax, dword [ebx + 0x20]
mov ecx, dword [ebx + 4]
lea eax, [eax + eax*4]
mov byte [ecx + eax*4 - 0x11], 0x90
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x18]
push edx
push eax
push ecx
mov eax, 0x36
mov ecx, edi
call fcn.004684b0
mov edx, dword [esp + 0x24]
add esp, 0xc
push esi
push 0
push edx
push 0x46
push ebx
call fcn.00440c90
mov eax, dword [esp + 0x28]
add esp, 0x14
push 0
push eax
push 0
push 0xd
push ebx
call fcn.00440c90
mov eax, dword [ebx + 0x20]
mov edx, dword [ebx + 0x18]
lea ecx, [eax - 1]
add esp, 0x14
add eax, 0xfffffffe
mov dword [edx + 0x60], ecx
mov ecx, dword [ebx + 0x20]
jns 0x46665d
lea eax, [ecx - 1]
mov edx, dword [ebx]
cmp byte [edx + 0x45], 0
je 0x46666c
mov eax, 0x550118
jmp 0x466675
mov edx, dword [ebx + 4]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov dword [eax + 8], ecx
mov eax, dword [ebx + 0x20]
mov ecx, dword [ebx + 0x18]
dec eax
mov dword [ecx + 0x60], eax
mov eax, dword [esp + 0x24]
mov ecx, dword [ebx + 0x20]
test eax, eax
jge 0x466690
lea eax, [ecx - 1]
mov edx, dword [ebx]
cmp byte [edx + 0x45], 0
je 0x46669f
mov eax, 0x550118
jmp 0x4666a8
mov edx, dword [ebx + 4]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov dword [eax + 8], ecx
test esi, esi
je 0x466a7b
mov dl, byte [edi + 0x13]
cmp dl, 8
jae 0x466a7b
xor eax, eax
lea ecx, [edi + 0x7c]
cmp dword [ecx + 0xc], esi
je 0x4666e1
inc eax
add ecx, 0x14
cmp eax, 0xa
jl 0x4666c4
movzx eax, dl
mov dword [edi + eax*4 + 0x1c], esi
inc byte [edi + 0x13]
jmp 0x466a7b
mov byte [ecx + 6], 1
jmp 0x466a7b
mov ecx, dword [ebp + 0x18]
mov eax, dword [ecx + 0x14]
mov ecx, dword [edi + 0x3c]
cmp eax, ecx
mov edx, dword [edi + 0x40]
mov dword [esp + 0x10], eax
mov dword [esp + 0x24], edx
jg 0x46670e
add edx, eax
sub ecx, eax
mov dword [edi + 0x40], edx
mov dword [edi + 0x3c], ecx
jmp 0x46671d
mov ecx, dword [edi + 0x4c]
lea edx, [ecx + 1]
add ecx, eax
mov dword [esp + 0x24], edx
mov dword [edi + 0x4c], ecx
mov al, byte [edi + 0x13]
test al, al
jne 0x466730
inc dword [edi + 0x4c]
mov eax, dword [edi + 0x4c]
mov dword [esp + 0x20], eax
jmp 0x466740
dec al
movzx ecx, al
mov byte [edi + 0x13], al
mov edx, dword [edi + ecx*4 + 0x1c]
mov dword [esp + 0x20], edx
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x14]
mov ecx, dword [esi + 0x2c]
mov edx, dword [esp + 0x18]
push eax
push ecx
push edx
push 0x36
push ebx
call fcn.00440c90
add esp, 0x14
mov ecx, esi
mov eax, edi
call fcn.004416a0
cmp dword [esp + 0x10], 0
mov dword [esp + 0x1c], 0
jle 0x4667e5
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
jmp 0x466780
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ecx + eax*4]
mov eax, dword [ebp + 0x20]
lea ecx, [edx + eax + 1]
mov eax, dword [ebx + 0x20]
mov edx, dword [ebx + 0x18]
cmp dword [edx + 0x58], eax
jg 0x4667aa
push 0
push esi
push ecx
push 0x1e
mov eax, ebx
call fcn.00440c50
add esp, 0x10
jmp 0x4667d1
lea edx, [eax + 1]
mov dword [ebx + 0x20], edx
mov edx, dword [ebx + 4]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax], 0x1e
mov byte [eax + 3], 0
mov dword [eax + 8], esi
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
inc eax
inc esi
cmp eax, ecx
mov dword [esp + 0x1c], eax
jl 0x466780
jmp 0x4667e9
mov ecx, dword [esp + 0x10]
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x18]
cmp eax, dword [edx]
jne 0x4668ff
cmp dword [ebp + 0x24], 1
jne 0x4668ff
mov eax, dword [ebx + 0x20]
lea edx, [eax + ecx + 1]
xor esi, esi
mov dword [esp + 0x1c], edx
test ecx, ecx
jle 0x4668b2
mov eax, dword [ebp + 0x1c]
mov edx, dword [eax + esi*4]
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 4]
movzx eax, word [eax + esi*2]
mov ecx, dword [ebp + 0x20]
movsx edi, ax
lea edx, [edx + ecx + 1]
lea ecx, [edi + ecx + 1]
mov edi, dword [ebp + 0x10]
cmp ax, word [edi + 0x20]
jne 0x466840
mov ecx, dword [ebp + 0x20]
mov eax, dword [ebx + 0x20]
mov edi, dword [ebx + 0x18]
cmp dword [edi + 0x58], eax
jg 0x466860
push ecx
mov ecx, dword [esp + 0x20]
push ecx
push edx
push 0x4e
mov eax, ebx
call fcn.00440c50
add esp, 0x10
jmp 0x46688e
lea edi, [eax + 1]
mov dword [ebx + 0x20], edi
mov edi, dword [ebx + 4]
lea eax, [eax + eax*4]
lea eax, [edi + eax*4]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x1c]
mov byte [eax], 0x4e
mov byte [eax + 3], 0
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], 0
mov byte [eax + 1], 0
mov eax, dword [ebx]
cmp byte [eax + 0x45], 0
jne 0x4668a4
mov eax, dword [ebx + 0x20]
mov edx, dword [ebx + 4]
lea ecx, [eax + eax*4]
mov byte [edx + ecx*4 - 0x11], 0x10
inc esi
cmp esi, dword [esp + 0x10]
jl 0x466816
mov edi, dword [ebp + 8]
mov eax, dword [ebx + 0x20]
mov ecx, dword [ebx + 0x18]
cmp dword [ecx + 0x58], eax
jg 0x4668d4
mov edx, dword [esp + 0x14]
push 0
push edx
push 0
push 0xd
mov eax, ebx
call fcn.00440c50
add esp, 0x10
jmp 0x4668ff
lea ecx, [eax + 1]
mov dword [ebx + 0x20], ecx
lea edx, [eax + eax*4]
mov eax, dword [ebx + 4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x14]
xor ecx, ecx
mov byte [eax], 0xd
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov esi, dword [ebp + 0x14]
mov eax, dword [edi]
call fcn.00468550
mov ecx, dword [ebx + 0x20]
mov esi, eax
mov eax, dword [ebx + 0x18]
cmp dword [eax + 0x58], ecx
jg 0x466933
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x24]
push ecx
push edx
push eax
push 0x31
mov eax, ebx
call fcn.00440c50
add esp, 0x10
jmp 0x46696b
lea edx, [ecx + 1]
mov dword [ebx + 0x20], edx
mov edx, dword [ebx + 4]
lea eax, [ecx + ecx*4]
lea eax, [edx + eax*4]
mov edx, dword [esp + 0x24]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x10]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x20]
mov byte [eax], 0x31
mov byte [eax + 3], 0
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], 0
mov byte [eax + 1], 0
mov eax, ecx
mov ecx, dword [esp + 0x10]
push ecx
push esi
push eax
push ebx
call fcn.00441610
mov ecx, dword [ebx + 0x20]
mov edx, dword [ebx + 0x18]
mov esi, dword [esp + 0x30]
add esp, 0x10
cmp dword [edx + 0x58], ecx
jg 0x4669a3
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push esi
push eax
push ecx
push 0x45
mov eax, ebx
call fcn.00440c50
add esp, 0x10
jmp 0x4669db
lea edx, [ecx + 1]
mov dword [ebx + 0x20], edx
mov edx, dword [ebx + 4]
lea eax, [ecx + ecx*4]
lea eax, [edx + eax*4]
mov edx, dword [esp + 0x18]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x14]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x20]
mov byte [eax], 0x45
mov byte [eax + 3], 0
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], 0
mov byte [eax + 1], 0
mov eax, ecx
mov edx, dword [ebx]
cmp byte [edx + 0x45], 0
je 0x4669ef
xor ecx, ecx
lea eax, [ecx - 0xe]
call fcn.00441340
jmp 0x466a26
test eax, eax
jge 0x4669f7
mov eax, dword [ebx + 0x20]
dec eax
mov ecx, dword [ebx + 4]
lea eax, [eax + eax*4]
cmp byte [ecx + eax*4 + 1], 0
lea eax, [ecx + eax*4]
je 0x466a1b
push 0
push eax
mov eax, 0xfffffff2
mov ecx, ebx
call fcn.00441530
add esp, 8
jmp 0x466a26
mov dword [eax + 0x10], 0
mov byte [eax + 1], 0xf2
test esi, esi
je 0x466a53
mov dl, byte [edi + 0x13]
cmp dl, 8
jae 0x466a53
xor eax, eax
lea ecx, [edi + 0x7c]
cmp dword [ecx + 0xc], esi
je 0x466aed
inc eax
add ecx, 0x14
cmp eax, 0xa
jl 0x466a37
movzx edx, dl
mov dword [edi + edx*4 + 0x1c], esi
inc byte [edi + 0x13]
mov eax, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x14]
mov esi, edi
call fcn.00456230
mov ecx, dword [esp + 0x14]
add esp, 4
cmp ecx, dword [edi + 0x3c]
jle 0x466a7b
mov eax, dword [esp + 0x24]
mov edx, ecx
mov dword [edi + 0x3c], edx
mov dword [edi + 0x40], eax
mov ecx, dword [ebp + 0x18]
mov al, byte [ecx + 0x18]
test al, al
jne 0x466b38
mov edx, dword [edi]
test dword [edx + 0x18], 0x1000000
jne 0x466b38
cmp dword [edi + 0x1a0], 0
jne 0x466b38
cmp byte [edi + 0x14], al
jne 0x466b38
call fcn.00473120
mov esi, eax
mov eax, dword [edi + 0x1a0]
test eax, eax
je 0x466ac1
mov edi, eax
push 0
push 2
push 0x313
push 0x15
push esi
mov byte [edi + 0x15], 1
call fcn.00440c90
mov edx, dword [esi]
add esp, 0x14
cmp byte [edx + 0x45], 0
je 0x466af6
xor ecx, ecx
lea eax, [ecx - 2]
call fcn.00441340
jmp 0x466b20
mov byte [ecx + 6], 1
jmp 0x466a53
test eax, eax
jge 0x466afe
mov eax, dword [esi + 0x20]
dec eax
mov ecx, dword [esi + 4]
lea eax, [eax + eax*4]
cmp byte [ecx + eax*4 + 1], 0
lea eax, [ecx + eax*4]
je 0x466b20
push 0
push eax
mov eax, 0xfffffffe
mov ecx, esi
call fcn.00441530
add esp, 8
mov edx, dword [esi]
cmp byte [edx + 0x45], 0
jne 0x466b9e
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 4]
lea eax, [eax + eax*4]
mov byte [ecx + eax*4 - 0x11], 4
jmp 0x466b9e
mov edx, dword [ebp + 0x24]
xor esi, esi
cmp edx, esi
jle 0x466b55
test al, al
jne 0x466b55
mov eax, dword [edi + 0x1a0]
cmp eax, esi
jne 0x466b51
mov eax, edi
mov byte [eax + 0x15], 1
mov eax, dword [ebx + 0x20]
mov edi, dword [ebx + 0x18]
cmp dword [edi + 0x58], eax
movzx ecx, byte [ecx + 0x18]
jg 0x466b78
push esi
push edx
push ecx
push 0x87
mov eax, ebx
call fcn.00440c50
add esp, 0x10
jmp 0x466b9e
lea edi, [eax + 1]
mov dword [ebx + 0x20], edi
mov edi, dword [ebx + 4]
lea eax, [eax + eax*4]
lea eax, [edi + eax*4]
mov byte [eax], 0x87
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], esi
mov byte [eax + 1], 0
mov ecx, dword [ebx + 0x18]
mov eax, dword [ecx + 0x78]
xor edx, edx
cmp eax, edx
je 0x466bbc
mov esi, dword [esp + 0x14]
lea esi, [esi*4 + 4]
sub eax, esi
mov esi, dword [ebx + 0x20]
mov dword [eax], esi
mov eax, dword [ebx + 0x20]
dec eax
mov dword [ecx + 0x60], eax
mov eax, dword [ebx + 0x20]
mov ecx, dword [ebx + 0x18]
cmp dword [ecx + 0x58], eax
jg 0x466be8
push edx
push edx
mov edx, dword [esp + 0x20]
push edx
push 0x3d
mov eax, ebx
call fcn.00440c50
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [eax + 1]
mov dword [ebx + 0x20], ecx
mov ecx, dword [ebx + 4]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x18]
pop edi
pop esi
mov byte [eax], 0x3d
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov byte [eax + 1], 0
pop ebx
mov esp, ebp
pop ebp
ret