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

Disassembly:
sub esp, 0x1b0
mov eax, dword [0x478040]
xor eax, esp
mov dword [esp + 0x1ac], eax
push ebx
mov ebx, ecx
push ebp
push esi
push edi
mov edx, dword [ebx + 0xdc]
xor edi, edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x24], edx
mov eax, dword [edx + 0xa9de8]
mov dword [ebx + 0x144], eax
mov ecx, dword [edx + 0xa9de0]
test ecx, ecx
je 0x41abba
mov eax, dword [edx + 0xa9cd8]
mov eax, dword [eax]
movzx ebp, byte [eax + 8]
nop dword [eax]
lea esi, [ecx]
xor edx, edx
mov ecx, dword [ecx]
mov dword [esp + 0x1c], ecx
test ebp, ebp
je 0x41abb2
mov eax, dword [ebx + 0xdc]
mov eax, dword [eax + 0xa9cd8]
mov eax, dword [eax]
mov bl, byte [eax + 8]
nop
cmp bl, 1
jbe 0x41ab9f
cmp byte [edx + esi + 0x605], 0
jne 0x41ab9f
test edx, edx
jne 0x41aba5
xor eax, eax
movzx ecx, bl
test bl, bl
je 0x41ab9f
nop dword [eax]
cmp byte [esi + eax + 0x605], 0
jne 0x41aba5
inc eax
cmp eax, ecx
jl 0x41ab90
movzx eax, byte [esi + 0x28]
add edi, eax
inc edx
cmp edx, ebp
jl 0x41ab70
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jne 0x41ab50
mov edx, dword [esp + 0x24]
mov dword [ebx + 0x14c], edi
add dword [edx + 0xccf60], edi
mov edx, 0x284
mov ecx, dword [ebx + 0xdc]
mov eax, dword [ecx + 0xccf60]
mul edx
mov edx, 0xffffffff
cmovb eax, edx
push eax
push dword [ecx + 0xccf5c]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
mov ecx, dword [ebx + 0xdc]
xor edi, edi
xor edx, edx
mov dword [esp + 0x34], edi
add esp, 8
mov dword [esp + 0x18], edx
mov dword [ecx + 0xccf5c], eax
mov ecx, dword [ebx + 0xdc]
mov eax, dword [ecx + 0xa9dcc]
add eax, dword [ebx + 0x140]
mov dword [esp + 0x34], eax
mov eax, dword [ebx + 0x150]
add eax, dword [ebx + 0x138]
mov dword [esp + 0x30], eax
mov eax, dword [ecx + 0xa9cd8]
mov eax, dword [eax]
mov eax, dword [eax]
add eax, dword [ebx + 0x13c]
mov ebx, dword [ecx + 0xa9de0]
mov dword [esp + 0x50], eax
test ebx, ebx
je 0x41b04b
mov eax, dword [ecx + 0xa9cd8]
mov ebp, ebx
mov ebx, dword [ebx]
add ebp, 8
mov dword [esp + 0x68], ebx
xor ebx, ebx
mov dword [esp + 0x38], ebp
mov eax, dword [eax]
mov dword [esp + 0x20], ebx
cmp byte [eax + 8], bl
jbe 0x41b03a
nop word [eax + eax]
mov eax, dword [ecx + 0xa9cd8]
mov dword [esp + 0x1c], eax
mov esi, dword [eax]
mov cl, byte [esi + 8]
cmp cl, 1
jbe 0x41acd3
cmp ebx, 0xffffffff
je 0x41acd3
cmp byte [ebx + ebp + 0x5fd], 0
jne 0x41acd3
test ebx, ebx
jne 0x41b013
movzx ecx, cl
xor eax, eax
test ecx, ecx
je 0x41acd3
nop dword [eax]
nop dword [eax + eax]
cmp byte [eax + ebp + 0x5fd], 0
jne 0x41b013
inc eax
cmp eax, ecx
jl 0x41acc0
imul ecx, ebx, 0x70
lea edx, [esp + 0x6c]
add ecx, 0x344
add ecx, ebp
call fcn.00414ab0
movzx eax, byte [esi + 0xb]
xor esi, esi
movsx edx, byte [ebp + 0x5f4]
mov ecx, dword [esp + 0x1c]
cmp edx, eax
push ebx
push 0
cmovl esi, edx
lea eax, [esp + 0x74]
push esi
push eax
call fcn.00417650
xor ecx, ecx
test eax, eax
setg cl
xor esi, esi
mov dword [esp + 0x54], ecx
mov cl, byte [ebp + 0x20]
mov dword [esp + 0x1c], esi
test cl, cl
je 0x41b013
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x38]
lea eax, [ebx + 0x190]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x30]
add eax, edi
imul edx, eax, 0x284
mov eax, dword [esp + 0x18]
add eax, dword [esp + 0x34]
movzx eax, ax
mov edi, eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x44], edi
jmp 0x41ad64
mov ebx, dword [esp + 0x14]
test esi, esi
jne 0x41ad77
dec cl
neg cl
sbb cl, cl
and cl, 2
mov byte [esp + 0x13], cl
jmp 0x41ad7c
mov byte [esp + 0x13], 3
mov eax, dword [ebx + 0xdc]
push 0x284
push 0
mov edi, dword [eax + 0xccf5c]
add edi, edx
push edi
mov dword [esp + 0x58], edi
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebx + 0xdc]
xor edx, edx
movsx ecx, byte [ebp + 0x5f4]
mov bh, byte [ebp + 0x5fc]
push 8
mov eax, dword [eax + 0xa9cd8]
mov eax, dword [eax]
movzx eax, byte [eax + 0xb]
cmp ecx, eax
mov eax, dword [ebp + 0x604]
mov dword [esp + 0x74], eax
cmovl edx, ecx
movzx eax, bh
mov ecx, dword [ebp + 0x5f8]
mov dword [esp + 0x50], eax
movzx eax, byte [ebp + 0x20]
dec eax
mov dword [esp + 0x6c], edx
movzx edx, byte [ebp + 0x1f]
cmp esi, eax
mov esi, dword [ebp + esi*4 + 0x24]
setne bl
mov dword [esp + 0x4c], esi
mov esi, dword [esp + 0x40]
dec bl
cmp edx, 0x80
movzx ebp, si
mov esi, dword [esp + 0x4c]
lea eax, [edx - 0x80]
cmovbe eax, edx
mov dword [esp + 0x70], edx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x3c]
add eax, ebp
mov word [edi + 0x272], cx
mov word [edi], ax
cmp edx, 0x80
mov eax, dword [esp + 0x54]
mov word [edi + 2], ax
seta dl
mov eax, dword [esp + 0x58]
mov word [edi + 4], ax
mov eax, dword [esp + 0x38]
movsx eax, al
lea ecx, [edx + 1]
movsx ecx, cl
imul ecx, eax
mov eax, dword [esp + 0x24]
mov word [edi + 8], si
mov esi, dword [esp + 0x44]
add esi, dword [esp + 0x28]
mov eax, dword [eax + 0x130]
mov byte [esi + eax], cl
mov eax, dword [esp + 0x38]
mov byte [edi + 0x12], al
mov byte [edi + 0x19], al
mov al, byte [esp + 0x23]
mov byte [edi + 0x1f], al
mov eax, dword [esp + 0x60]
add eax, dword [esp + 0x28]
mov word [edi + 0x22], ax
or eax, 0xffffffff
mov word [edi + 0x24], ax
mov eax, dword [esp + 0x30]
mov word [edi + 0x17], 0
mov byte [edi + 0x1e], dl
mov byte [edi + 0x20], bl
mov byte [edi + 0x2a], 1
mov byte [edi + 0x275], al
call fcn.004592b8
mov esi, eax
add esp, 0x10
mov dword [esi], 0xc8
mov eax, dword [esp + 0x54]
mov dword [esi + 4], eax
movsx ecx, word [edi]
push ecx
mov ecx, dword [esp + 0x5c]
call fcn.0041bd00
cmp dword [esp + 0x40], 0
mov ebp, dword [esp + 0x38]
mov dword [eax], esi
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
mov word [edi + 0x264], ax
mov eax, dword [esp + 0x5c]
mov dword [edi + 0x30], 0xffffffff
mov word [edi + 0x74], 0
mov dword [edi + 0x78], 0xffffffff
mov dword [edi + 0x7c], 0xffffffff
mov word [edi + 0x80], 1
mov dword [edi + 0x84], 0xffffffff
mov dword [edi + 0x158], 0xffffffff
mov dword [edi + 0x22c], 0xffffffff
mov dword [edi + 0x244], 0xffffffff
mov byte [edi + 0x268], 0
mov byte [edi + 0x26e], 0
mov byte [edi + 0x271], 2
mov byte [edi + 0x270], al
mov byte [edi + 0x28], bh
je 0x41afac
mov ecx, dword [esi + 0xdc]
mov eax, 0x80
mov ebx, dword [esp + 0x60]
cmp eax, ebx
mov edx, dword [esp + 0x28]
sbb eax, eax
mov ecx, dword [ecx + 0xa9cd8]
neg eax
inc eax
imul eax, edx
mov ecx, dword [ecx]
cmp byte [ecx + 0x9c9d3], 0
je 0x41af93
mov eax, 0x80
cmp eax, ebx
sbb eax, eax
and eax, 4
add eax, 4
imul eax, edx
mov ebx, dword [esp + 0x20]
imul edx, dword [esp + 0x3c], 0xbc
mov ecx, dword [esi + ebx*4 + 0xf8]
add dword [ecx + edx + 0x6c], eax
jmp 0x41afb0
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x64]
mov edx, edi
push dword [esp + 0x40]
mov dword [edi + 0x278], eax
mov ecx, esi
mov eax, dword [ebp + 0x5fd]
mov dword [edi + 0x27c], eax
mov ax, word [ebp + 0x601]
push ebx
mov word [edi + 0x280], ax
call fcn.00419210
mov esi, dword [esp + 0x24]
add esp, 8
mov edi, dword [esp + 0x2c]
inc esi
mov edx, dword [esp + 0x24]
inc edi
mov cl, byte [ebp + 0x20]
add edx, 0x284
movzx eax, cl
mov dword [esp + 0x2c], edi
mov dword [esp + 0x24], edx
mov dword [esp + 0x1c], esi
cmp esi, eax
jl 0x41ad60
mov eax, dword [esp + 0x14]
inc ebx
mov dword [esp + 0x20], ebx
mov ecx, dword [eax + 0xdc]
mov eax, dword [ecx + 0xa9cd8]
mov eax, dword [eax]
movzx eax, byte [eax + 8]
cmp ebx, eax
jl 0x41ac80
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x68]
inc edx
mov dword [esp + 0x18], edx
test ebx, ebx
jne 0x41ac51
mov ecx, dword [esp + 0x1bc]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004592a5
add esp, 0x1b0
ret