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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xe8
mov eax, dword [0x5c2b80]
xor eax, esp
mov dword [esp + 0xe4], eax
mov eax, ecx
mov dword [esp + 0x10], 0
push esi
push edi
lea ecx, [esp + 0x80]
mov dword [esp + 0x28], eax
mov edi, dword [eax]
mov esi, edx
mov edx, ecx
mov dword [esp + 0x24], 1
mov dword [esp + 0x2c], edi
mov dword [esp + 0xc], edx
mov eax, dword [edi + 0x58]
mov dword [esp + 0x38], ecx
xor ecx, ecx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], 0x64
mov dword [esp + 0x48], eax
mov word [esp + 0x4c], 1
mov dword [esp + 0x34], edi
cmp dword [edi + 0xa0], 1
mov dword [esp + 0x10], ecx
jle 0x4a23ef
mov al, byte [esi]
test al, al
je 0x4a26fa
lea ebx, [ebx]
mov edi, esi
inc esi
cmp al, 0xa
je 0x4a236d
mov al, byte [esi]
test al, al
jne 0x4a2362
add ecx, 3
cmp ecx, dword [esp + 0x44]
jl 0x4a238b
push 3
mov edx, 0x595a54
lea ecx, [esp + 0x38]
call fcn.0047eb00
add esp, 4
jmp 0x4a23a3
mov ax, word [0x595a54]
mov dword [esp + 0x40], ecx
mov word [ecx + edx - 3], ax
mov al, byte [0x595a56]
mov byte [ecx + edx - 1], al
mov eax, dword [esp + 0x40]
mov ecx, esi
sub ecx, edi
add eax, ecx
push ecx
cmp eax, dword [esp + 0x48]
jl 0x4a23c4
mov edx, edi
lea ecx, [esp + 0x38]
call fcn.0047eb00
add esp, 4
jmp 0x4a23d8
mov dword [esp + 0x44], eax
sub eax, ecx
add eax, dword [esp + 0x40]
push edi
push eax
call fcn.0052e420
add esp, 0xc
mov al, byte [esi]
test al, al
je 0x4a26d4
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
jmp 0x4a2360
mov cl, byte [esi]
test cl, cl
je 0x4a26f8
lea esp, [esp]
xor eax, eax
mov edi, esi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], eax
test cl, cl
je 0x4a244a
lea edx, [esp + 0x30]
mov ecx, edi
call fcn.004ebce0
cmp dword [esp + 0x30], 0x87
mov ecx, eax
mov eax, dword [esp + 0x1c]
je 0x4a2442
add edi, ecx
add eax, ecx
mov dword [esp + 0x1c], eax
cmp byte [edi], 0
jne 0x4a2410
mov edx, dword [esp + 0xc]
mov edi, dword [esp + 0x14]
jmp 0x4a244c
mov edx, dword [esp + 0xc]
mov edi, ecx
jmp 0x4a244c
mov edi, eax
mov ecx, dword [esp + 0x10]
add ecx, eax
push eax
cmp ecx, dword [esp + 0x48]
jl 0x4a2469
mov edx, esi
lea ecx, [esp + 0x38]
call fcn.0047eb00
add esp, 4
jmp 0x4a247b
mov dword [esp + 0x44], ecx
sub ecx, eax
add ecx, edx
push esi
push ecx
call fcn.0052e420
add esp, 0xc
add esi, dword [esp + 0x1c]
test edi, edi
je 0x4a26d4
cmp byte [esi], 0x3f
jne 0x4a24a9
cmp edi, 1
jle 0x4a24a3
lea ecx, [esi + 1]
lea edx, [esp + 0x18]
call fcn.004809a0
mov eax, dword [esp + 0x18]
jmp 0x4a24bc
mov eax, dword [esp + 0x24]
jmp 0x4a24b8
mov ecx, dword [esp + 0x28]
mov edx, esi
push edi
call fcn.004a2020
add esp, 4
mov dword [esp + 0x18], eax
lea ecx, [eax + 1]
add esi, edi
mov dword [esp + 0x24], ecx
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x28]
mov dword [esp + 0xc], esi
mov edi, dword [eax + 0x3c]
add edi, 0xffffffd8
movzx eax, word [edi + ecx*8 + 8]
lea edi, [edi + ecx*8]
mov dword [esp + 0x10], edi
test al, 1
je 0x4a2522
mov edx, dword [esp + 0x40]
add edx, 4
cmp edx, dword [esp + 0x44]
jl 0x4a250b
push 4
mov edx, str.NULL
lea ecx, [esp + 0x38]
call fcn.0047eb00
add esp, 4
jmp 0x4a26b9
mov eax, dword [esp + 0x3c]
mov ecx, dword [str.NULL]
mov dword [esp + 0x40], edx
mov dword [edx + eax - 4], ecx
jmp 0x4a26b9
test al, 4
je 0x4a2544
push dword [edi + 4]
lea eax, [esp + 0x38]
push dword [edi]
push str._lld
push 0
push eax
call fcn.0047f140
add esp, 0x14
jmp 0x4a26b9
test al, 8
je 0x4a256d
movsd xmm0, qword [edi]
lea eax, [esp + 0x34]
sub esp, 8
movsd qword [esp], xmm0
push str.__.15g
push 0
push eax
call fcn.0047f140
add esp, 0x14
jmp 0x4a26b9
test al, 2
je 0x4a261a
mov ecx, dword [esp + 0x2c]
mov al, byte [ecx + 0x3e]
mov byte [esp + 0x20], al
cmp al, 1
je 0x4a25d2
mov edx, dword [edi + 0x10]
xorps xmm0, xmm0
push 0
push dword [esp + 0x24]
movq qword [esp + 0x78], xmm0
push dword [edi + 0xc]
mov dword [esp + 0x7c], ecx
lea ecx, [esp + 0x5c]
movdqa xmmword [esp + 0x5c], xmm0
movdqa xmmword [esp + 0x6c], xmm0
call fcn.0049b190
add esp, 0xc
test byte [esp + 0x58], 2
je 0x4a25ce
cmp byte [esp + 0x5a], 1
je 0x4a25ce
mov dl, 1
lea ecx, [esp + 0x50]
call fcn.0047f4f0
lea edi, [esp + 0x50]
push dword [edi + 0x10]
lea eax, [esp + 0x38]
push dword [edi + 0xc]
push str._.q
push 0
push eax
call fcn.0047f140
add esp, 0x14
cmp byte [esp + 0x20], 1
je 0x4a26b9
test dword [esp + 0x58], 0x2460
jne 0x4a260c
cmp dword [esp + 0x68], 0
je 0x4a26b9
lea ecx, [esp + 0x50]
call fcn.0049aa20
jmp 0x4a26b9
test eax, 0x4000
je 0x4a263c
push dword [edi]
lea eax, [esp + 0x38]
push str.zeroblob__d_
push 0
push eax
call fcn.0047f140
add esp, 0x10
jmp 0x4a26b9
push 2
mov edx, 0x595a70
lea ecx, [esp + 0x38]
call fcn.0047eb40
mov eax, dword [edi + 0xc]
add esp, 4
xor edi, edi
mov dword [esp + 0x14], eax
test eax, eax
jle 0x4a2687
mov esi, dword [esp + 0x10]
mov eax, dword [esi + 0x10]
movzx eax, byte [eax + edi]
push eax
push 0x595a74
lea eax, [esp + 0x3c]
push 0
push eax
call fcn.0047f140
inc edi
add esp, 0x10
cmp edi, dword [esp + 0x14]
jl 0x4a2660
mov esi, dword [esp + 0xc]
mov edx, dword [esp + 0x40]
inc edx
cmp edx, dword [esp + 0x44]
jl 0x4a26a7
push 1
mov edx, 0x592cb4
lea ecx, [esp + 0x38]
call fcn.0047eb00
add esp, 4
jmp 0x4a26b9
mov eax, dword [esp + 0x3c]
mov cl, byte [0x592cb4]
mov dword [esp + 0x40], edx
mov byte [edx + eax - 1], cl
mov cl, byte [esi]
test cl, cl
je 0x4a26d4
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], edx
jmp 0x4a2400
mov edx, dword [esp + 0x3c]
test edx, edx
je 0x4a26e2
mov ecx, dword [esp + 0x40]
jmp 0x4a26fa
mov eax, edx
pop edi
pop esi
mov ecx, dword [esp + 0xe4]
xor ecx, esp
call fcn.0052ab62
mov esp, ebp
pop ebp
ret
xor ecx, ecx
mov byte [ecx + edx], 0
mov cl, byte [esp + 0x4c]
mov eax, dword [esp + 0x3c]
test cl, cl
je 0x4a2786
cmp eax, dword [esp + 0x38]
jne 0x4a2786
cmp cl, 1
jne 0x4a2728
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x34]
inc eax
cdq
push edx
push eax
call fcn.0047d250
jmp 0x4a274c
mov esi, dword [esp + 0x40]
inc esi
call fcn.004ecc90
test eax, eax
je 0x4a273a
xor ecx, ecx
jmp 0x4a2751
test esi, esi
jg 0x4a2742
xor ecx, ecx
jmp 0x4a2751
mov eax, esi
cdq
push edx
push eax
call fcn.0047cb60
mov ecx, eax
add esp, 8
mov dword [esp + 0x3c], ecx
test ecx, ecx
je 0x4a2784
mov eax, dword [esp + 0x40]
inc eax
push eax
push dword [esp + 0x3c]
push ecx
call fcn.0052e420
mov eax, dword [esp + 0x48]
add esp, 0xc
pop edi
pop esi
mov ecx, dword [esp + 0xe4]
xor ecx, esp
call fcn.0052ab62
mov esp, ebp
pop ebp
ret
mov eax, ecx
mov ecx, dword [esp + 0xec]
pop edi
pop esi
xor ecx, esp
call fcn.0052ab62
mov esp, ebp
pop ebp
ret