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

Disassembly:
sub esp, 0xc4
mov eax, dword [0x4ca1d0]
xor eax, esp
mov dword [esp + 0xc0], eax
push ebx
push ebp
mov ebp, dword [esp + 0xd0]
push esi
mov esi, ecx
mov eax, dword [esi]
mov edx, dword [eax + 0x64]
push edi
xor edi, edi
lea ebx, [edi + 1]
cmp dword [eax + 0xb0], ebx
lea ecx, [esp + 0x6c]
mov dword [esp + 0x34], esi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], 0x64
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], edi
mov byte [esp + 0x24], 0
mov byte [esp + 0x25], 0
jle 0x4403a5
mov al, byte [ebp]
test al, al
je 0x440532
jmp 0x44030a
mov ecx, dword [esp + 0x14]
mov esi, ebp
lea esp, [esp]
inc ebp
cmp al, 0xa
je 0x44031c
mov al, byte [ebp]
test al, al
jne 0x440310
add edi, 3
cmp edi, dword [esp + 0x18]
jb 0x440341
push 0x4bbc10
mov eax, 3
lea ecx, [esp + 0x14]
call fcn.004319f0
mov edi, dword [esp + 0x24]
add esp, 4
jmp 0x44035a
mov ax, word [0x4bbc10]
mov word [edi + ecx - 3], ax
mov dl, byte [0x4bbc12]
mov dword [esp + 0x20], edi
mov byte [edi + ecx - 1], dl
mov eax, ebp
sub eax, esi
lea ecx, [edi + eax]
cmp ecx, dword [esp + 0x18]
jb 0x44037a
push esi
lea ecx, [esp + 0x14]
call fcn.004319f0
mov edi, dword [esp + 0x24]
add esp, 4
jmp 0x440395
test eax, eax
je 0x440395
mov edi, ecx
push eax
sub ecx, eax
add ecx, dword [esp + 0x18]
push esi
push ecx
mov dword [esp + 0x2c], edi
call fcn.00495400
add esp, 0xc
mov al, byte [ebp]
test al, al
jne 0x440306
jmp 0x44050e
cmp word [esi + 0x10], di
jne 0x4403de
cmp ebp, edi
jne 0x4403b3
xor eax, eax
jmp 0x4403c6
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4403b8
sub eax, edx
and eax, 0x3fffffff
push eax
lea edx, [esp + 0x14]
push ebp
push edx
call fcn.00431a20
mov edi, dword [esp + 0x2c]
add esp, 0xc
jmp 0x44050e
cmp byte [ebp], 0
je 0x440532
jmp 0x4403f4
mov ebx, dword [esp + 0x3c]
lea eax, [esp + 0x38]
push eax
mov eax, ebp
call fcn.0042dc20
mov esi, eax
lea eax, [edi + esi]
add esp, 4
cmp eax, dword [esp + 0x18]
jb 0x440423
push ebp
mov eax, esi
lea ecx, [esp + 0x14]
call fcn.004319f0
mov edi, dword [esp + 0x24]
add esp, 4
jmp 0x440440
test esi, esi
je 0x440440
mov edi, eax
mov ecx, edi
sub ecx, esi
add ecx, dword [esp + 0x14]
push esi
push ebp
push ecx
mov dword [esp + 0x2c], edi
call fcn.00495400
add esp, 0xc
add ebp, esi
mov esi, dword [esp + 0x38]
test esi, esi
je 0x44050e
cmp byte [ebp], 0x3f
jne 0x440474
cmp esi, 1
jle 0x440470
lea edx, [esp + 0x28]
push edx
lea eax, [ebp + 1]
push eax
call fcn.0042a3b0
mov eax, dword [esp + 0x30]
add esp, 8
jmp 0x44048a
mov eax, ebx
jmp 0x440486
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx + 0x78]
push esi
push ebp
push edx
call fcn.0041dc60
add esp, 0xc
mov dword [esp + 0x28], eax
lea ecx, [eax + 1]
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x34]
add ebp, esi
mov dword [esp + 0x3c], ecx
mov ecx, dword [eax + 0x74]
movzx eax, word [ecx + edx*8 - 0x20]
lea esi, [ecx + edx*8 - 0x28]
mov dword [esp + 0x30], ebp
test al, 1
je 0x4404e3
add edi, 4
cmp edi, dword [esp + 0x18]
jb 0x4404cf
push str.NULL
mov eax, 4
lea ecx, [esp + 0x14]
call fcn.004319f0
add esp, 4
jmp 0x440500
mov edx, dword [str.NULL]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], edi
mov dword [edi + eax - 4], edx
jmp 0x440504
test al, 4
je 0x44055a
mov ecx, dword [esi + 4]
mov edx, dword [esi]
push ecx
push edx
push str._lld
lea eax, [esp + 0x1c]
push eax
call fcn.0043da40
add esp, 0x10
mov edi, dword [esp + 0x20]
cmp byte [ebp], 0
jne 0x4403f0
cmp byte [esp + 0x24], 0
je 0x440526
lea ecx, [esp + 0x10]
push ecx
call fcn.0041cb20
mov edi, dword [esp + 0x24]
add esp, 4
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x4406eb
cmp dword [esp + 0x1c], 0
mov byte [edi + ecx], 0
jbe 0x4406eb
test byte [esp + 0x25], 4
jne 0x4406eb
lea esi, [esp + 0x10]
call fcn.00431ac0
jmp 0x4406ed
test al, 8
je 0x440572
fld qword [esi]
sub esp, 8
fstp qword [esp]
push str.__.15g
lea ecx, [esp + 0x1c]
push ecx
jmp 0x4404f8
test al, 2
je 0x440628
mov edx, dword [esp + 0x2c]
mov bl, byte [edx + 0x46]
mov byte [esp + 0x40], bl
cmp bl, 1
je 0x4405f7
mov ecx, dword [esp + 0x40]
xor eax, eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x68], eax
mov eax, edx
mov dword [esp + 0x64], eax
mov edx, dword [esi + 0x10]
mov eax, dword [esi + 0xc]
push 0
push ecx
push edx
lea ecx, [esp + 0x50]
call fcn.00439e10
add esp, 0xc
mov ecx, 1
lea eax, [esp + 0x44]
call fcn.00439d20
cmp eax, 7
jne 0x4405f3
mov byte [esp + 0x24], al
mov dword [esp + 0x18], 0
lea esi, [esp + 0x44]
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
push eax
push ecx
lea edx, [esp + 0x18]
push str._.q
push edx
call fcn.0043da40
add esp, 0x10
cmp bl, 1
je 0x440500
lea eax, [esp + 0x44]
call fcn.00421f70
jmp 0x440500
test eax, 0x4000
je 0x440649
mov eax, dword [esi]
push eax
lea ecx, [esp + 0x14]
push str.zeroblob__d_
push ecx
call fcn.0043da40
add esp, 0xc
jmp 0x440500
lea eax, [edi + 2]
cmp eax, dword [esp + 0x18]
jb 0x44066a
push 0x4bbbf4
mov eax, 2
lea ecx, [esp + 0x14]
call fcn.004319f0
add esp, 4
jmp 0x44067e
mov dx, word [0x4bbbf4]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x20], eax
mov word [eax + ecx - 2], dx
mov ebp, dword [esi + 0xc]
xor edi, edi
test ebp, ebp
jle 0x4406a6
mov edx, dword [esi + 0x10]
movzx eax, byte [edx + edi]
push eax
lea ecx, [esp + 0x14]
push str._02x
push ecx
call fcn.0043da40
inc edi
add esp, 0xc
cmp edi, ebp
jl 0x440687
mov edi, dword [esp + 0x20]
inc edi
cmp edi, dword [esp + 0x18]
jb 0x4406d0
push 0x4b5d68
mov eax, 1
lea ecx, [esp + 0x14]
call fcn.004319f0
mov ebp, dword [esp + 0x34]
add esp, 4
jmp 0x440500
mov dl, byte [0x4b5d68]
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0x30]
mov dword [esp + 0x20], edi
mov byte [edi + eax - 1], dl
jmp 0x440504
mov eax, ecx
mov ecx, dword [esp + 0xd0]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00493ffe
add esp, 0xc4
ret