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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x4010c0]
xor eax, ebp
mov dword [ebp - 4], eax
or dword [ebp - 0x7c], 0xffffffff
mov eax, ecx
mov dword [ebp - 0x4c], eax
push ebx
mov ebx, edx
mov edx, dword [ebp + 8]
mov ecx, dword [eax + 0x100]
mov eax, dword [eax]
mov dword [ebp - 0x74], ecx
xor ecx, ecx
push esi
push edi
test byte [eax + 0x50], 1
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x68], edx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x54], ecx
jne 0x4a78bd
mov ecx, dword [ebx + 0x20]
imul eax, edx, 0x48
mov dword [ebp - 0x48], ecx
add ecx, eax
mov dword [ebp - 0x50], ecx
mov eax, dword [ecx + 0x34]
mov esi, dword [ecx + 0x1c]
mov dword [ebp - 0x80], eax
xor eax, eax
cmp dword [ebx + 0x44], eax
jne 0x4a78bd
cmp dword [esi + 0x44], eax
jne 0x4a78bd
mov eax, dword [esi + 0x3c]
xor edi, edi
mov edx, dword [esi + 0x20]
test eax, eax
je 0x4a7267
cmp dword [ebx + 0x3c], edi
jne 0x4a78bd
cmp dword [eax + 0x10], edi
jne 0x4a78bd
test dword [ebx + 4], 0x100
je 0x4a7278
test eax, eax
jne 0x4a78bd
cmp dword [edx], edi
je 0x4a78bd
test byte [esi + 4], 1
jne 0x4a78bd
mov edi, dword [ebp + 0xc]
test eax, eax
je 0x4a72a8
mov ecx, dword [ebp - 0x48]
cmp dword [ecx], 1
mov ecx, dword [ebp - 0x50]
jg 0x4a78bd
test edi, edi
jne 0x4a78bd
cmp dword [ebx + 0x30], 0
je 0x4a72b8
cmp dword [esi + 0x30], 0
jne 0x4a78bd
test edi, edi
je 0x4a72c6
cmp dword [esi + 0x30], 0
jne 0x4a78bd
test eax, eax
je 0x4a72df
xor eax, eax
cmp dword [ebx + 0x24], eax
jne 0x4a78bd
test byte [ebx + 4], 1
jne 0x4a78bd
test dword [esi + 4], 0x2000
jne 0x4a78bd
mov cl, byte [ecx + 0x2c]
test cl, 0x60
je 0x4a7325
cmp dword [edx], 1
jg 0x4a78bd
mov eax, dword [edx + 0x18]
cmp byte [eax + 0x2b], 1
je 0x4a78bd
test byte [ebx + 4], 1
jne 0x4a78bd
test cl, 0x10
jne 0x4a78bd
xor ecx, ecx
inc ecx
mov dword [ebp - 0x70], ecx
jmp 0x4a7328
mov ecx, dword [ebp - 0x70]
cmp dword [ebp - 0x68], 0
jle 0x4a7338
test byte [edx + 0x2c], 0x40
jne 0x4a78bd
mov eax, dword [ebp - 0x50]
test dword [eax + 0x30], 0x100
je 0x4a7351
mov eax, dword [eax + 0x4c]
cmp byte [eax + 0x12], 0
je 0x4a78bd
xor edx, edx
cmp dword [esi + 0x34], edx
je 0x4a7499
cmp dword [esi + 0x30], edx
jne 0x4a78bd
test edi, edi
jne 0x4a78bd
test byte [ebx + 4], 1
jne 0x4a78bd
test ecx, ecx
jne 0x4a78bd
mov eax, esi
test byte [eax + 4], 9
jne 0x4a78bd
mov edx, dword [eax + 0x34]
test edx, edx
je 0x4a739b
cmp byte [eax], 0x87
jne 0x4a78bd
mov ecx, dword [eax + 0x20]
cmp dword [ecx], 1
jl 0x4a78bd
cmp dword [eax + 0x44], edi
jne 0x4a78bd
cmp dword [ebp - 0x68], edi
jle 0x4a73bf
test byte [ecx + 0x2c], 0x40
jne 0x4a78bd
mov eax, edx
test eax, eax
jne 0x4a7381
mov ecx, dword [ebx + 0x30]
test ecx, ecx
je 0x4a73e8
mov eax, dword [ecx]
mov edx, edi
test eax, eax
jle 0x4a73e8
add ecx, 0x18
cmp word [ecx], di
je 0x4a78bd
inc edx
add ecx, 0x14
cmp edx, eax
jl 0x4a73d7
test dword [ebx + 4], 0x2000
jne 0x4a78bd
mov eax, dword [esi + 0x1c]
xor edx, edx
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x5c], edx
cmp dword [eax], edx
jle 0x4a7449
mov ebx, edx
mov ecx, dword [eax + ebx + 8]
call fcn.0048506e
mov edi, dword [esi + 0x34]
mov byte [ebp - 0x3d], al
jmp 0x4a742f
mov ecx, dword [edi + 0x1c]
mov ecx, dword [ecx + ebx + 8]
call fcn.0048506e
cmp al, byte [ebp - 0x3d]
jne 0x4a78bd
mov edi, dword [edi + 0x34]
test edi, edi
jne 0x4a7417
mov ecx, dword [ebp - 0x5c]
add ebx, 0x14
mov eax, dword [ebp - 0x78]
inc ecx
mov dword [ebp - 0x5c], ecx
cmp ecx, dword [eax]
jl 0x4a7406
mov ebx, dword [ebp - 0x64]
xor edx, edx
mov eax, dword [ebp - 0x48]
cmp dword [eax], 1
jle 0x4a7499
mov edi, dword [ebp - 0x4c]
cmp dword [edi + 0x68], 0x1f4
jg 0x4a78bd
mov ecx, dword [ebp - 0x44]
test dword [ecx + 0x50], 0x800000
jne 0x4a78bd
mov eax, dword [edi + 0x28]
cdq
add eax, 1
adc edx, 0
shld edx, eax, 2
shl eax, 2
push edx
push eax
call fcn.0045975d
pop ecx
xor edx, edx
mov dword [ebp - 0x54], eax
pop ecx
test eax, eax
je 0x4a7499
mov ecx, dword [edi + 0x28]
mov dword [eax], ecx
mov edi, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x4c]
push edx
push edx
mov eax, dword [edi + 0x10]
push edx
push 0x15
pop edx
mov dword [ecx + 0x100], eax
call fcn.0048fcdf
mov eax, dword [ebp - 0x4c]
add esp, 0xc
mov ecx, dword [ebp - 0x74]
mov dword [eax + 0x100], ecx
mov edx, dword [edi + 0xc]
mov eax, dword [edi + 0x1c]
mov dword [ebp - 0x5c], eax
test edx, edx
je 0x4a74d7
mov ecx, dword [ebp - 0x44]
call fcn.004594d9
mov edx, dword [edi + 0x10]
test edx, edx
je 0x4a74e6
mov ecx, dword [ebp - 0x44]
call fcn.004594d9
mov edx, dword [edi + 0x14]
test edx, edx
je 0x4a74f5
mov ecx, dword [ebp - 0x44]
call fcn.004594d9
xor edx, edx
mov dword [edi + 0xc], edx
mov dword [edi + 0x10], edx
mov dword [edi + 0x14], edx
mov dword [edi + 0x1c], edx
mov eax, dword [esi + 0x34]
mov dword [ebp - 0x60], eax
test eax, eax
je 0x4a75ee
jmp 0x4a7515
xor edx, edx
mov ecx, dword [ebp - 0x64]
mov edi, dword [edi + 0x18]
mov ebx, dword [ebx + 0x30]
push edx
mov eax, dword [ecx + 0x34]
mov esi, dword [ecx + 0x3c]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x50]
mov dword [eax + 0x18], edx
mov dword [ecx + 0x30], edx
mov dword [ecx + 0x34], edx
mov dword [ecx + 0x3c], edx
mov edx, ecx
mov ecx, dword [ebp - 0x44]
call fcn.00486802
pop ecx
mov ecx, eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x58], ecx
mov dword [eax + 0x30], ebx
mov ebx, eax
mov dword [eax + 0x3c], esi
mov eax, dword [ebp - 0x50]
mov byte [ebx], 0x87
mov dword [eax + 0x18], edi
test ecx, ecx
jne 0x4a7564
mov eax, dword [ebp - 0x6c]
jmp 0x4a75d2
mov esi, dword [ebp - 0x4c]
mov edi, dword [ebp - 0x54]
inc dword [esi + 0x68]
mov eax, dword [esi + 0x68]
mov dword [ecx + 0x10], eax
test edi, edi
je 0x4a75c0
mov eax, dword [ebp - 0x44]
cmp byte [eax + 0x57], 0
jne 0x4a75c0
push dword [ebp - 0x68]
mov edx, edi
push dword [ecx + 0x20]
mov ecx, esi
call fcn.004a70f7
mov edx, dword [ebp - 0x58]
xor eax, eax
pop ecx
pop ecx
xorps xmm0, xmm0
mov dword [ebp - 0x3c], eax
lea ecx, [ebp - 0x3c]
movlpd qword [ebp - 0x30], xmm0
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x38], 0x4a7189
mov dword [ebp - 0x34], fcn.00438fe3
call fcn.00482ce5
mov ecx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x6c]
mov dword [ecx + 0x34], eax
test eax, eax
je 0x4a75cd
mov dword [eax + 0x38], ecx
mov dword [ecx + 0x38], ebx
mov eax, ecx
mov edi, dword [ebp - 0x50]
mov ecx, ebx
push 0x34
pop edx
mov dword [edx + ecx], eax
mov eax, dword [ebp - 0x60]
mov eax, dword [eax + 0x34]
mov dword [ebp - 0x60], eax
test eax, eax
jne 0x4a7513
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x4a75ff
mov ecx, dword [ebp - 0x44]
mov edx, eax
call fcn.004594d9
mov eax, dword [ebp - 0x44]
cmp byte [eax + 0x57], 0
je 0x4a7616
mov ecx, dword [ebp - 0x5c]
mov dword [edi + 0x1c], ecx
xor eax, eax
inc eax
jmp 0x4a78bf
mov edx, dword [edi + 0x18]
test edx, edx
je 0x4a7649
mov eax, dword [edx + 0x18]
cmp eax, 1
jne 0x4a7640
mov eax, dword [ebp - 0x4c]
mov ecx, eax
push edx
mov edx, fcn.00490aa0
cmp dword [eax + 0x78], 0
cmovne ecx, dword [eax + 0x78]
call fcn.004a2d3d
pop ecx
jmp 0x4a7644
dec eax
mov dword [edx + 0x18], eax
xor eax, eax
mov dword [edi + 0x18], eax
imul edx, dword [ebp - 0x68], 0x48
mov edi, dword [ebp - 0x5c]
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x54], edx
mov esi, dword [edi + 0x20]
xor eax, eax
mov byte [ebp - 0x3d], al
mov eax, dword [ebp - 0x48]
mov ecx, dword [esi]
mov dword [ebp - 0x58], ecx
mov al, byte [edx + eax + 0x2c]
and al, 0x40
mov byte [ebp - 0x3e], al
mov eax, dword [ebx + 0x20]
mov dword [ebp - 0x48], eax
cmp ebx, dword [ebp - 0x64]
jne 0x4a7689
mov eax, dword [ebp - 0x50]
mov al, byte [eax + 0x2c]
mov byte [ebp - 0x3d], al
mov eax, dword [ebp - 0x48]
cmp ecx, 1
jle 0x4a76ba
mov eax, dword [ebp - 0x68]
mov edx, dword [ebp - 0x48]
inc eax
push eax
lea eax, [ecx - 1]
mov ecx, dword [ebp - 0x4c]
push eax
call fcn.00494dde
mov dword [ebp - 0x48], eax
pop ecx
pop ecx
test eax, eax
je 0x4a7875
mov ecx, dword [ebp - 0x58]
mov edx, dword [ebp - 0x54]
mov dword [ebx + 0x20], eax
jmp 0x4a76be
test ecx, ecx
jle 0x4a771f
add esi, 8
mov dword [ebp - 0x6c], ecx
lea ebx, [eax + 0x2c]
mov dword [ebp - 0x60], esi
add ebx, edx
test dword [ebx + 4], 0x400
je 0x4a76e0
mov edx, dword [ebx + 0xc]
mov ecx, dword [ebp - 0x44]
call fcn.00494d62
mov al, byte [ebp - 0x3e]
lea edi, [ebx - 0x24]
push 0x12
pop ecx
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x60]
or byte [ebx], al
push 0x48
mov eax, dword [esi + 0x2c]
mov dword [ebp - 0x7c], eax
xor eax, eax
push eax
push esi
call sub.VCRUNTIME140.dll_memset
add esi, 0x48
add esp, 0xc
add ebx, 0x48
mov dword [ebp - 0x60], esi
sub dword [ebp - 0x6c], 1
jne 0x4a76cc
mov ebx, dword [ebp - 0x74]
mov edi, dword [ebp - 0x78]
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x48]
mov al, byte [edx + eax + 0x2c]
mov ecx, dword [ebp - 0x48]
and al, 0x40
or al, byte [ebp - 0x3e]
or al, byte [ebp - 0x3d]
mov byte [edx + ecx + 0x2c], al
mov eax, dword [edi + 0x30]
test eax, eax
je 0x4a7760
test dword [ebx + 4], 0x400000
jne 0x4a7760
xor esi, esi
mov edx, esi
cmp dword [eax], esi
jle 0x4a775a
lea ecx, [eax + 0x18]
xor esi, esi
inc edx
mov word [ecx], si
lea ecx, [ecx + 0x14]
cmp edx, dword [eax]
jl 0x4a774d
mov dword [ebx + 0x30], eax
mov dword [edi + 0x30], esi
mov esi, dword [edi + 0x24]
xor eax, eax
mov dword [edi + 0x24], eax
cmp dword [ebp - 0x70], eax
jbe 0x4a777a
mov edx, dword [ebp - 0x7c]
mov ecx, esi
push 1
call fcn.004a37a0
pop ecx
test esi, esi
je 0x4a779f
cmp dword [ebx + 0x24], 0
je 0x4a779c
push dword [ebx + 0x24]
push esi
mov esi, dword [ebp - 0x4c]
mov ecx, esi
push 0x2c
pop edx
call fcn.00485bff
pop ecx
pop ecx
mov dword [ebx + 0x24], eax
jmp 0x4a77a2
mov dword [ebx + 0x24], esi
mov esi, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x44]
cmp byte [eax + 0x57], 0
jne 0x4a77ea
mov eax, dword [ebp - 0x80]
mov ecx, edi
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x2c], eax
mov eax, dword [edi + 0x1c]
mov dword [ebp - 0x28], eax
mov eax, dword [edi + 0x34]
mov dword [ebp - 0x38], esi
jmp 0x4a77d2
mov ecx, eax
mov eax, dword [ecx + 0x34]
test eax, eax
jne 0x4a77cd
mov eax, dword [ecx + 0x1c]
mov edx, ebx
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x38]
xor eax, eax
push eax
call fcn.004a702a
pop ecx
mov eax, dword [edi + 4]
and eax, 0x100
or dword [ebx + 4], eax
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x4a7804
mov dword [ebx + 0x3c], eax
xor eax, eax
mov dword [edi + 0x3c], eax
mov eax, dword [ebp - 0x58]
test eax, eax
jle 0x4a785e
mov ecx, dword [ebp - 0x54]
mov esi, dword [ebp - 0x48]
add ecx, 0x40
add esi, ecx
xor ecx, ecx
cmp dword [esi - 0x28], ecx
je 0x4a7853
mov dword [ebp - 0x3c], ecx
lea eax, [esi - 0x38]
xorps xmm0, xmm0
mov dword [ebp - 0x28], ecx
mov dword [esi], ecx
mov edx, ebx
mov dword [esi + 4], ecx
lea ecx, [ebp - 0x3c]
movlpd qword [ebp - 0x30], xmm0
mov dword [ebp - 0x38], 0x4a70c6
mov dword [ebp - 0x34], fcn.00438fe3
mov dword [ebp - 0x24], eax
call fcn.00482ce5
mov eax, dword [ebp - 0x58]
xor ecx, ecx
add esi, 0x48
sub eax, 1
mov dword [ebp - 0x58], eax
jne 0x4a7818
mov ebx, dword [ebx + 0x34]
mov edi, dword [edi + 0x34]
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x78], edi
test ebx, ebx
jne 0x4a7659
mov eax, dword [ebp - 0x4c]
lea ecx, [ebp - 0x20]
mov ebx, dword [ebp - 0x5c]
xorps xmm0, xmm0
mov edx, ebx
movlpd qword [ebp - 0x14], xmm0
movlpd qword [ebp - 0xc], xmm0
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 0x48b0b8
mov dword [ebp - 0x18], fcn.00438fe3
call fcn.00482ce5
test ebx, ebx
je 0x4a760e
mov ecx, dword [ebp - 0x44]
mov edx, ebx
push 1
call fcn.004a340c
pop ecx
jmp 0x4a760e
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004caec8
leave
ret