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

Disassembly:
push 0xffffffffffffffff
push 0x48e360
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b81f4]
xor eax, esp
push eax
lea eax, [esp + 0x7c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x94]
mov edi, ecx
mov ebp, dword [esp + 0x8c]
xor ebx, ebx
cmp dword [ebp], ebx
je 0x419810
mov eax, edi
call fcn.0040e680
push 0x4aeb58
push 0x4ad42c
mov edx, eax
call fcn.0040fd10
add esp, 8
xor al, al
jmp 0x419e79
mov dword [esp + 0x38], fcn.0046b942
mov dword [esp + 0x3c], fcn.0046bdd0
mov dword [esp + 0x40], fcn.0046b865
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], 0x8000
mov dword [esp + 0x34], vtable.t_heap.0
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x50], bl
mov edx, dword [esp + 0x90]
lea eax, [esp + 0x34]
push eax
mov ecx, edi
mov dword [esp + 0x88], ebx
call fcn.00412170
test al, al
jne 0x4198a1
call fcn.0040e6d0
push 8
mov dword [esi], 8
call fcn.0046b942
mov dword [ebp], eax
add esp, 4
lea esi, [esp + 0x34]
mov dword [eax], 0x5251572b
mov byte [eax + 4], 0x31
mov byte [eax + 5], 0x30
mov dword [esp + 0x84], 0xffffffff
call fcn.00411f40
jmp 0x419e77
mov dword [esi], 0xc
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], 0xa
mov dword [esp + 0x6c], fcn.0046b942
mov dword [esp + 0x70], fcn.0046bdd0
mov dword [esp + 0x74], fcn.0046b865
lea ecx, [esp + 0x34]
mov byte [esp + 0x84], 1
call fcn.00412c90
mov edi, eax
lea eax, [esp + 0x2c]
call fcn.00407db0
mov edi, dword [esp + 0x2c]
cmp edi, ebx
je 0x419cda
mov ecx, dword [edi]
mov ebp, dword [edi + 4]
push 6
push str.MODULE
push ecx
mov dword [esp + 0x24], ebp
call fcn.0046e938
add esp, 0xc
test eax, eax
jne 0x419c93
push 0x24
mov dword [esp + 0x94], ebx
call fcn.0046c5dc
add esp, 4
cmp eax, ebx
je 0x419967
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], 0xa
mov dword [eax + 0x18], fcn.0046b942
mov dword [eax + 0x1c], fcn.0046bdd0
mov dword [eax + 0x20], fcn.0046b865
mov esi, eax
jmp 0x419969
xor esi, esi
xor eax, eax
cmp dword [ebp + 4], ebx
je 0x41998e
mov edx, dword [ebp + 8]
cmp edx, ebx
jbe 0x41998c
mov edi, dword [ebp]
mov ecx, edi
lea esp, [esp]
cmp dword [ecx], ebx
jne 0x4199c6
inc eax
add ecx, 4
cmp eax, edx
jb 0x419980
xor eax, eax
mov ebp, eax
cmp eax, ebx
je 0x419c15
mov edx, dword [ebp]
lea eax, [esp + 0x20]
push eax
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], edx
push ecx
lea edx, [esp + 0x24]
push edx
lea edi, [esp + 0x34]
call fcn.004240d0
xor ebx, ebx
cmp eax, ebx
je 0x4199cb
mov edi, dword [eax + 4]
jmp 0x4199cd
mov eax, dword [edi + eax*4]
jmp 0x41998e
xor edi, edi
cmp dword [esp + 0x90], ebx
jne 0x419a78
mov ecx, dword [ebp]
mov eax, 0x4ac6c8
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x419a08
cmp dx, bx
je 0x419a04
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x419a08
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x4199e2
xor eax, eax
jmp 0x419a0d
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x419a78
push 0x14
call fcn.0046c5dc
add esp, 4
cmp eax, ebx
je 0x419a5e
mov ecx, edi
mov dword [eax + 0xc], edi
mov dword [eax + 8], ebx
mov dword [eax + 0x10], ebx
mov byte [eax], 1
lea edi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x419a30
sub ecx, edi
sar ecx, 1
lea ecx, [ecx + ecx + 0xe]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x94]
mov dword [esp + 0x90], eax
mov eax, dword [eax + 4]
add dword [ecx], eax
jmp 0x419b0d
mov ecx, dword [esp + 0x94]
xor eax, eax
mov dword [esp + 0x90], eax
mov eax, dword [eax + 4]
add dword [ecx], eax
jmp 0x419b0d
mov ebx, dword [ebp]
mov eax, edi
call fcn.0041aa30
mov edi, eax
test edi, edi
je 0x419b0d
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x94]
add dword [ecx], eax
cmp dword [esi + 0x10], 0
mov ebx, dword [esi + 4]
jne 0x419ae2
mov eax, dword [esi + 0x14]
mov edx, dword [esi + 0x18]
lea eax, [eax + eax*2]
lea eax, [eax*4 + 4]
push eax
call edx
add esp, 4
test eax, eax
je 0x419ac3
mov ecx, dword [esi + 0xc]
mov dword [eax], ecx
mov dword [esi + 0xc], eax
mov ecx, dword [esi + 0x14]
lea edx, [ecx + ecx*2]
add ecx, 0xffffffff
lea eax, [eax + edx*4 - 8]
js 0x419ae2
mov edx, dword [esi + 0x10]
mov dword [eax], edx
mov dword [esi + 0x10], eax
sub eax, 0xc
sub ecx, 1
jns 0x419ad2
mov eax, dword [esi + 0x10]
mov ecx, dword [eax]
test eax, eax
je 0x419aee
mov dword [eax + 8], edi
mov dword [esi + 0x10], ecx
mov dword [eax + 4], ebx
mov dword [eax], 0
mov ecx, dword [esi + 4]
inc dword [esi + 8]
test ecx, ecx
je 0x419b08
mov dword [ecx], eax
jmp 0x419b0a
mov dword [esi], eax
mov dword [esi + 4], eax
mov ebx, dword [esp + 0x18]
mov edi, dword [ebx + 8]
test edi, edi
jne 0x419b1c
xor ecx, ecx
jmp 0x419b46
mov ecx, dword [ebp + 8]
test ecx, ecx
jne 0x419b46
mov eax, dword [ebp + 0xc]
xor edx, edx
div edi
inc edx
jmp 0x419b30
cmp edx, edi
jae 0x419b46
mov eax, dword [ebx]
cmp dword [eax + edx*4], 0
lea eax, [eax + edx*4]
je 0x419b41
mov ecx, dword [eax]
inc edx
test ecx, ecx
je 0x419b30
mov ebp, ecx
test ecx, ecx
jne 0x419998
cmp dword [esp + 0x90], ecx
je 0x419c15
mov edi, dword [esp + 0x90]
mov dword [edi + 0x10], esi
mov esi, dword [esi]
lea ebx, [ecx + 1]
test esi, esi
je 0x419b82
mov ecx, dword [esi + 8]
mov eax, dword [ecx + 4]
add dword [edi + 4], eax
add dword [edi + 8], ebx
mov esi, dword [esi]
test esi, esi
jne 0x419b70
mov eax, dword [esp + 0x64]
mov esi, dword [esp + 0x58]
test eax, eax
jne 0x419bdf
mov eax, dword [esp + 0x68]
lea eax, [eax + eax*2]
lea eax, [eax*4 + 4]
push eax
call dword [esp + 0x70]
add esp, 4
test eax, eax
jne 0x419bac
xor ecx, ecx
jmp 0x419bb8
mov edx, dword [esp + 0x60]
mov dword [eax], edx
mov dword [esp + 0x60], eax
mov ecx, eax
mov eax, dword [esp + 0x68]
lea edx, [eax + eax*2]
lea ecx, [ecx + edx*4 - 8]
lea edx, [eax - 1]
mov eax, dword [esp + 0x64]
test edx, edx
jl 0x419bdf
mov edi, edi
mov dword [ecx], eax
mov eax, ecx
sub ecx, 0xc
sub edx, ebx
jns 0x419bd0
mov dword [esp + 0x64], eax
mov ecx, dword [eax]
mov dword [eax + 8], edi
mov dword [esp + 0x64], ecx
mov dword [eax + 4], esi
mov dword [eax], 0
mov ecx, dword [esp + 0x58]
add dword [esp + 0x5c], ebx
test ecx, ecx
je 0x419c08
mov dword [ecx], eax
mov dword [esp + 0x58], eax
jmp 0x419c8d
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
jmp 0x419c8d
xor ebx, ebx
cmp esi, ebx
je 0x419c8d
mov edi, dword [esi]
cmp edi, ebx
je 0x419c3a
mov ecx, dword [edi + 8]
cmp ecx, ebx
je 0x419c34
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov edi, dword [edi]
cmp edi, ebx
jne 0x419c25
cmp dword [esi + 8], ebx
jbe 0x419c5e
nop
mov eax, dword [esi]
mov ecx, dword [eax]
mov edx, dword [esi + 0x10]
mov dword [esi], ecx
mov dword [eax], edx
add dword [esi + 8], 0xffffffff
mov dword [esi + 0x10], eax
jne 0x419c59
call fcn.0041a3f0
cmp dword [esi + 8], ebx
ja 0x419c40
mov eax, dword [esi + 0xc]
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 0x10], ebx
cmp eax, ebx
je 0x419c84
lea ecx, [ecx]
mov edi, dword [eax]
push eax
mov eax, dword [esi + 0x20]
call eax
add esp, 4
mov eax, edi
cmp edi, ebx
jne 0x419c70
mov dword [esi + 0xc], ebx
push esi
call fcn.0046b4e0
add esp, 4
mov edi, dword [esp + 0x2c]
xor ebx, ebx
mov ebp, dword [esp + 0x30]
mov esi, dword [ebp + 8]
cmp esi, ebx
jne 0x419ca2
xor ecx, ecx
jmp 0x419ccc
cmp dword [edi + 8], ebx
je 0x419cac
mov ecx, dword [edi + 8]
jmp 0x419ccc
mov eax, dword [edi + 0xc]
xor edx, edx
div esi
xor ecx, ecx
inc edx
cmp edx, esi
jae 0x419ccc
mov eax, dword [ebp]
cmp dword [eax + edx*4], ebx
lea eax, [eax + edx*4]
je 0x419cc7
mov ecx, dword [eax]
inc edx
cmp ecx, ebx
je 0x419cb6
mov edi, ecx
mov dword [esp + 0x2c], edi
cmp ecx, ebx
jne 0x419903
mov ecx, dword [esp + 0x94]
mov edx, dword [ecx]
push edx
call fcn.0046b942
mov ecx, dword [esp + 0x90]
mov ebp, eax
mov dword [ecx], eax
mov dword [ebp], 0x5251572b
mov byte [ebp + 4], 0x31
mov byte [ebp + 5], 0x30
mov edx, dword [esp + 0x60]
add ebp, 8
mov dword [ebp], edx
mov eax, dword [esp + 0x58]
add esp, 4
add ebp, 4
mov dword [esp + 0x2c], eax
cmp eax, ebx
je 0x419ddc
xor edi, edi
mov eax, dword [esp + 0x2c]
mov ebx, dword [eax + 8]
mov eax, ebp
mov ecx, ebx
call fcn.0041a8a0
mov ebp, eax
mov eax, dword [ebx + 0x10]
cmp eax, edi
je 0x419dbd
mov esi, dword [eax]
cmp esi, edi
je 0x419d5d
mov ecx, dword [esi + 8]
cmp ecx, edi
je 0x419d57
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov esi, dword [esi]
cmp esi, edi
jne 0x419d48
mov esi, dword [ebx + 0x10]
cmp esi, edi
je 0x419dbd
cmp dword [esi + 8], edi
jbe 0x419d8e
lea esp, [esp]
mov eax, dword [esi]
mov ecx, dword [eax]
mov edx, dword [esi + 0x10]
mov dword [esi], ecx
mov dword [eax], edx
add dword [esi + 8], 0xffffffff
mov dword [esi + 0x10], eax
jne 0x419d89
call fcn.0041a3f0
cmp dword [esi + 8], edi
ja 0x419d70
mov eax, dword [esi + 0xc]
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 0x10], edi
cmp eax, edi
je 0x419db4
lea ecx, [ecx]
mov edi, dword [eax]
push eax
mov eax, dword [esi + 0x20]
call eax
add esp, 4
mov eax, edi
test edi, edi
jne 0x419da0
mov dword [esi + 0xc], edi
push esi
call fcn.0046b4e0
add esp, 4
push ebx
call fcn.0046b4e0
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx]
add esp, 4
mov dword [esp + 0x2c], eax
cmp eax, edi
jne 0x419d25
mov eax, dword [esp + 0x54]
mov byte [esp + 0x84], 0
cmp dword [esp + 0x5c], 0
jbe 0x419e1b
jmp 0x419df4
mov eax, dword [esp + 0x54]
mov edx, dword [eax]
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x54], edx
mov dword [eax], ecx
sub dword [esp + 0x5c], 1
mov dword [esp + 0x64], eax
jne 0x419e14
lea esi, [esp + 0x54]
call fcn.0041a3f0
cmp dword [esp + 0x5c], 0
ja 0x419df0
mov eax, dword [esp + 0x60]
xor edi, edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x64], edi
cmp eax, edi
je 0x419e45
mov esi, dword [eax]
push eax
call dword [esp + 0x78]
add esp, 4
mov eax, esi
cmp esi, edi
jne 0x419e31
mov dword [esp + 0x60], edi
mov dword [esp + 0x84], 0xffffffff
mov eax, dword [esp + 0x44]
mov dword [esp + 0x34], vtable.allocator_unsigned_char__class_TAllocDefault_.0
cmp eax, edi
je 0x419e77
mov edx, dword [eax + 4]
push eax
mov dword [esp + 0x48], edx
call dword [esp + 0x44]
mov eax, dword [esp + 0x48]
add esp, 4
cmp eax, edi
jne 0x419e60
mov al, 1
mov ecx, dword [esp + 0x7c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret 0xc