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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x80
xor esi, esi
cmp dword [edx + 0x44], 0
je 0x49cdbe
cmp dword [edx + 0x34], 0
mov edi, edx
jne 0x49cdbe
test byte [edi + 6], 0x10
jne 0x49cdbe
mov ebx, ecx
call fcn.00485cb0
mov esi, dword [edi + 0x28]
mov edx, dword [edi + 0x20]
mov ecx, dword [ebx]
mov dword [esp + 0x60], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x70], esi
mov esi, dword [edi + 0x2c]
mov dword [esp + 0x48], edx
mov edx, dword [edi + 0x24]
test ecx, ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], esi
mov esi, dword [edi + 0x44]
mov dword [esp + 0x74], edx
mov dword [esp + 8], esi
je 0x49c209
mov edx, 0x50
push 0
call fcn.00435490
add esp, 4
test eax, eax
jne 0x49c21d
mov eax, dword [esp + 0x10]
mov esi, 7
mov eax, dword [eax + 0xf0]
test eax, eax
je 0x49cdbe
mov dword [eax + 0xc], 7
inc dword [eax + 0x24]
jmp 0x49cdbe
mov ecx, 0x50
xor edx, edx
call fcn.0041c030
test eax, eax
je 0x49c8fe
lea ecx, [edi + 0x20]
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 0xc], 0
mov dword [eax + 8], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x18], 0
mov dword [eax + 0x24], 0
mov dword [eax + 0x20], 0
mov dword [eax + 0x2c], 0
mov dword [eax + 0x28], 0
mov dword [eax + 0x34], 0
mov dword [eax + 0x30], 0
mov dword [eax + 0x3c], 0
mov dword [eax + 0x38], 0
mov dword [eax + 0x44], 0
mov dword [eax + 0x40], 0
mov dword [eax + 0x4c], 0
mov dword [eax + 0x48], 0
mov dword [esp + 0xc], eax
mov eax, 0xffeffff7
xor edx, edx
mov dword [ecx + 4], 0
mov dword [ecx], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 8], 0
mov dword [esp + 0x14], ecx
mov ecx, ebx
and eax, dword [edi + 4]
or eax, 0x100000
mov dword [edi + 4], eax
push 1
mov esi, dword [esp + 0xc]
push dword [esi + 8]
call fcn.004a6f70
add esp, 8
mov ecx, ebx
mov edx, eax
push 1
push dword [esi + 0xc]
call fcn.004a6f70
add esp, 8
test eax, eax
je 0x49c351
mov ecx, dword [edi + 0x30]
test ecx, ecx
je 0x49c351
mov ecx, dword [ecx]
mov edx, dword [eax]
cmp ecx, edx
jg 0x49c351
mov dword [eax], ecx
mov dword [esp + 4], edx
mov esi, eax
mov ecx, eax
mov edx, dword [edi + 0x30]
push 0xffffffffffffffff
call fcn.0048da80
add esp, 4
test eax, eax
jne 0x49c349
mov edx, dword [edi + 0x30]
test edx, edx
je 0x49c342
mov ecx, dword [esp + 0x10]
call fcn.0046a010
mov dword [edi + 0x30], 0
mov eax, dword [esp + 4]
mov dword [esi], eax
mov eax, esi
mov dword [esp + 0x64], eax
mov eax, dword [ebx + 0x28]
lea ecx, [eax + 1]
mov dword [ebx + 0x28], ecx
mov ecx, dword [esp + 8]
mov dword [ecx + 0x30], eax
add dword [ebx + 0x28], 3
mov dword [esp + 0x18], edi
mov dword [esp], ebx
mov edi, dword [edi + 0x1c]
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x5c], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x4c], ecx
lea ecx, [esp + 0x4c]
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], 0x4a70e0
mov dword [esp + 0x28], 0x4a72e0
mov dword [esp + 0x38], ecx
test edi, edi
mov dword [esp + 0x50], eax
mov dword [esp + 0x58], edx
je 0x49c410
mov ebx, dword [edi]
mov edx, 0
test ebx, ebx
jle 0x49c412
add edi, 4
inc ebx
lea esi, [esp + 0x20]
jmp 0x49c3f9
dec ebx
add edi, 0x10
cmp ebx, 1
jle 0x49c40a
mov edx, dword [edi]
test edx, edx
je 0x49c3f0
mov ecx, esi
call fcn.0048d1b0
test eax, eax
je 0x49c3f0
mov edx, dword [esp + 0x54]
jmp 0x49c412
xor edx, edx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 8]
mov esi, dword [esp + 0x48]
mov edi, dword [eax + 0x30]
mov dword [esp + 0x5c], 0
mov dword [esp + 0x54], edx
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x50], esi
mov esi, dword [esp]
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x58], ecx
test edi, edi
lea ecx, [esp + 0x4c]
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], 0x4a70e0
mov dword [esp + 0x28], 0x4a72e0
mov dword [esp + 0x38], ecx
je 0x49c4ae
mov ebx, dword [edi]
test ebx, ebx
jle 0x49c4ae
add edi, 4
inc ebx
lea esi, [esp + 0x20]
jmp 0x49c499
dec ebx
add edi, 0x10
cmp ebx, 1
jle 0x49c4aa
mov edx, dword [edi]
test edx, edx
je 0x49c490
mov ecx, esi
call fcn.0048d1b0
test eax, eax
je 0x49c490
mov edx, dword [esp + 0x54]
test edx, edx
je 0x49c4ca
mov eax, dword [edx]
mov ecx, dword [esp + 8]
mov dword [ecx + 0x4c], eax
mov eax, dword [ecx + 8]
test eax, eax
je 0x49c553
mov ebx, dword [edx]
jmp 0x49c4de
mov eax, dword [esp + 8]
xor ebx, ebx
mov dword [eax + 0x4c], 0
mov eax, dword [eax + 8]
test eax, eax
je 0x49c553
cmp dword [eax], 0
jle 0x49c553
shl ebx, 4
lea esi, [eax + 0xc]
xor edi, edi
mov dword [esp + 0x1c], eax
jmp 0x49c50f
mov eax, dword [esp + 0x1c]
inc edi
add ebx, 0x10
add esi, 0x10
cmp edi, dword [eax]
jge 0x49c553
mov dword [esp + 4], edx
mov edx, dword [esi - 8]
mov ecx, dword [esp]
mov eax, 0
test edx, edx
je 0x49c537
mov eax, dword [esp]
mov ecx, dword [eax]
push 0
push 0
call fcn.0048fa30
mov ecx, dword [esp + 8]
add esp, 8
mov edx, dword [esp + 4]
push eax
call fcn.00477e20
add esp, 4
mov edx, eax
test eax, eax
je 0x49c500
movzx eax, byte [esi]
mov byte [edx + ebx + 0xc], al
jmp 0x49c500
mov eax, dword [esp + 8]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x49c5ee
test edx, edx
je 0x49c56f
mov esi, dword [edx]
cmp dword [eax], 0
jg 0x49c576
jmp 0x49c5ee
xor esi, esi
cmp dword [eax], 0
jle 0x49c5ee
shl esi, 4
lea ebx, [eax + 0xc]
xor edi, edi
mov dword [esp + 0x1c], eax
jmp 0x49c59f
mov eax, dword [esp + 0x1c]
inc edi
add esi, 0x10
add ebx, 0x10
cmp edi, dword [eax]
jge 0x49c5e3
mov dword [esp + 4], edx
mov edx, dword [ebx - 8]
mov ecx, dword [esp]
mov eax, 0
test edx, edx
je 0x49c5c7
mov eax, dword [esp]
mov ecx, dword [eax]
push 0
push 0
call fcn.0048fa30
mov ecx, dword [esp + 8]
add esp, 8
mov edx, dword [esp + 4]
push eax
call fcn.00477e20
add esp, 4
mov edx, eax
test eax, eax
je 0x49c590
movzx eax, byte [ebx]
mov byte [edx + esi + 0xc], al
jmp 0x49c590
cmp dword [esp + 8], 0
je 0x49c839
mov edi, dword [esp + 8]
jmp 0x49c63e
lea edx, [ecx + 1]
lea ecx, [ecx + ecx*4]
mov dword [esi + 0x6c], edx
mov edx, dword [esi + 0x68]
mov dword [edx + ecx*4], 0x48
mov dword [edx + ecx*4 + 4], 0
mov dword [edx + ecx*4 + 8], edi
mov dword [edx + ecx*4 + 0xc], 0
mov dword [edx + ecx*4 + 0x10], 0
mov edx, eax
mov edi, ebx
mov edi, dword [ebx + 0x24]
test edi, edi
je 0x49c839
mov ecx, dword [edi + 0x48]
mov eax, dword [edi + 0x2c]
mov ecx, dword [ecx + 0x14]
test byte [eax + 6], 0x10
jne 0x49c680
test edx, edx
mov dword [esp + 4], edx
mov dword [esp + 0x78], edi
je 0x49c727
mov eax, dword [edx]
test ecx, ecx
mov dword [edi + 0x50], eax
je 0x49c7b0
mov esi, dword [edx]
jmp 0x49c734
mov esi, dword [esp + 8]
mov ebx, dword [esp + 0x48]
mov dword [esp + 0x5c], 0
mov dword [esp + 0x54], edx
lea eax, [esp + 0x2c]
test ecx, ecx
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 8], 0
mov dword [esp + 0x4c], esi
mov esi, dword [esp + 0xc]
mov dword [esp + 0x50], ebx
mov ebx, dword [esp]
mov dword [esp + 0x58], esi
lea esi, [esp + 0x4c]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], 0x4a70e0
mov dword [esp + 0x28], 0x4a72e0
mov dword [esp + 0x38], esi
je 0x49c714
mov esi, dword [ecx]
test esi, esi
jle 0x49c714
add ecx, 4
inc esi
jmp 0x49c6f9
dec esi
add ecx, 0x10
cmp esi, 1
jle 0x49c710
mov edx, dword [ecx]
test edx, edx
je 0x49c6f0
mov ebx, ecx
lea ecx, [esp + 0x20]
call fcn.0048d1b0
mov ecx, ebx
test eax, eax
je 0x49c6f0
mov edx, dword [esp + 0x54]
test edx, edx
mov dword [esp + 4], edx
je 0x49c7ba
mov eax, dword [edx]
jmp 0x49c7bc
xor esi, esi
test ecx, ecx
mov dword [edi + 0x50], 0
je 0x49c7b0
cmp dword [ecx], 0
jle 0x49c7b0
shl esi, 4
lea edi, [ecx + 0xc]
xor ebx, ebx
mov dword [esp + 0x1c], ecx
jmp 0x49c763
mov ecx, dword [esp + 0x1c]
inc ebx
add esi, 0x10
add edi, 0x10
mov dword [esp + 4], eax
cmp ebx, dword [ecx]
jge 0x49c7b0
mov edx, dword [edi - 8]
mov ecx, dword [esp]
mov eax, 0
test edx, edx
je 0x49c787
mov eax, dword [esp]
mov ecx, dword [eax]
push 0
push 0
call fcn.0048fa30
mov ecx, dword [esp + 8]
add esp, 8
mov edx, dword [esp + 4]
push eax
call fcn.00477e20
add esp, 4
test eax, eax
je 0x49c750
movzx ecx, byte [edi]
mov byte [eax + esi + 0xc], cl
jmp 0x49c750
mov esi, dword [esp + 0x60]
mov edi, dword [esp + 0x78]
jmp 0x49c7c7
xor eax, eax
mov esi, dword [esp + 0x60]
mov dword [edi + 0x50], eax
mov byte [edi + 0x60], 1
mov edx, dword [edi + 0x28]
test edx, edx
je 0x49c7f0
mov ecx, dword [esp + 0x10]
push 0
push 0
call fcn.0048fa30
add esp, 8
mov ecx, dword [esp]
mov edx, dword [esp + 4]
push eax
call fcn.00477e20
add esp, 4
jmp 0x49c7f4
mov eax, dword [esp + 4]
mov edx, dword [esp]
mov ebx, edi
mov ecx, dword [edx + 0x2c]
inc ecx
mov dword [edx + 0x2c], ecx
mov dword [edi + 0x34], ecx
mov ecx, dword [edx + 0x2c]
inc ecx
mov dword [edx + 0x2c], ecx
mov dword [edi + 0x38], ecx
mov ecx, dword [esi + 0x6c]
mov edi, dword [edi + 0x34]
cmp dword [esi + 0x70], ecx
jg 0x49c600
mov edx, 0x48
mov ecx, esi
mov esi, eax
push 0
push edi
push 0
call fcn.0046c600
mov edx, esi
add esp, 0xc
jmp 0x49c631
test edx, edx
jne 0x49c968
lea edx, [esp + 0x20]
mov ecx, 0x5132e5
mov dword [esp + 0x20], 0
call fcn.004692d0
mov esi, eax
mov ecx, dword [esp + 0x10]
xor eax, eax
test esi, esi
sete al
lea edx, [eax + eax + 0x34]
push 0
call fcn.00435490
add esp, 4
mov edi, eax
test eax, eax
je 0x49c91b
test esi, esi
mov dword [edi], 0
mov dword [edi + 0x20], 0
mov dword [edi + 4], 0
mov dword [edi + 0xc], 0
mov dword [edi + 8], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x30], 0
mov byte [edi], 0x98
mov word [edi + 0x22], 0xffff
je 0x49c908
mov ecx, dword [esp + 0x20]
xor eax, eax
test ecx, ecx
sete al
shl eax, 0x1c
add eax, 0x10800400
mov dword [edi + 4], eax
mov dword [edi + 8], ecx
jmp 0x49c914
mov esi, 7
jmp 0x49cdbe
lea eax, [edi + 0x34]
mov dword [edi + 8], eax
mov word [edi + 0x34], 0x30
mov dword [edi + 0x18], 1
mov eax, dword [esp]
mov edx, 0x14
mov esi, dword [eax]
mov ecx, esi
push 0
call fcn.00435490
add esp, 4
test eax, eax
je 0x49c957
mov dword [eax], 1
mov edx, eax
mov dword [eax + 0xc], 0
mov dword [eax + 8], 0
mov dword [eax + 0x10], 0
mov dword [eax + 4], edi
jmp 0x49c968
xor edx, edx
test edi, edi
je 0x49c968
mov ecx, esi
mov edx, edi
call fcn.00469b50
xor edx, edx
mov esi, dword [esp]
mov ecx, esi
push 0
push 0
push dword [esp + 0x6c]
push dword [esp + 0x78]
push dword [esp + 0x80]
push dword [esp + 0x88]
push dword [esp + 0x60]
call fcn.00477a30
add esp, 0x1c
mov ecx, dword [esi]
mov ebx, eax
mov edx, 0x50
push 0
call fcn.00435490
add esp, 4
test eax, eax
je 0x49cb05
mov edi, dword [esp + 0x14]
pcmpeqd xmm0, xmm0
mov dword [eax + 4], 1
mov dword [eax], 1
mov esi, dword [esp]
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x18], 0
mov dword [eax + 0x24], 0
mov dword [eax + 0x20], 0
mov dword [eax + 0x2c], 0
mov dword [eax + 0x28], 0
mov dword [eax + 0x34], 0
mov dword [eax + 0x3c], 0
mov dword [eax + 0x38], 0
mov dword [eax + 0x44], 0
mov dword [eax + 0x40], 0
mov dword [eax + 0x4c], 0
mov dword [eax + 0x48], 0
mov dword [eax + 0x30], 0xffffffff
mov dword [eax + 0x10], 0
mov dword [edi], eax
movdqa xmmword [esp + 0x20], xmm0
mov dword [esp + 0x34], 0xffffffff
mov dword [esp + 0x30], 0xffffffff
mov dword [esp + 0x38], 0xffffffff
mov dword [eax + 0x1c], ebx
mov ecx, esi
mov edx, dword [edi]
call fcn.00497dc0
or byte [ebx + 4], 0x40
mov ecx, esi
mov edx, ebx
push 0x40
call fcn.00492250
add esp, 4
mov ecx, dword [esp + 0x68]
and ecx, 8
or dword [ebx + 4], ecx
test eax, eax
je 0x49cb27
mov edx, dword [esp + 0xc]
mov ecx, 0x14
mov esi, eax
mov dword [esp + 4], eax
pxor xmm0, xmm0
mov edi, edx
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x20]
or byte [edx + 0x24], 2
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
mov dword [eax + 0x18], edx
mov edx, ebx
movdqa xmmword [esp + 0x20], xmm0
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x24], 0x4a70a0
mov dword [esp + 0x28], 0x4a70c0
mov dword [esp + 0x2c], 0x4a70d0
call fcn.0048d270
mov eax, dword [esp + 4]
xor edi, edi
mov dword [esp + 0xc], eax
jmp 0x49cb2c
mov eax, dword [esp + 0x14]
xor edi, edi
test ebx, ebx
mov dword [eax], 0
je 0x49cb2c
mov ecx, dword [esp + 0x10]
mov edx, ebx
push 1
call fcn.00469ca0
add esp, 4
jmp 0x49cb2c
mov edi, 7
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov esi, 7
cmp byte [ecx + 0x51], 0
cmove esi, edi
test edx, edx
je 0x49cb49
call fcn.004352c0
mov edi, dword [esp + 0x18]
test esi, esi
je 0x49cc8d
mov eax, dword [esp]
cmp dword [eax + 0x24], 0
je 0x49cc94
mov ebx, dword [esp]
mov edx, edi
mov ecx, dword [ebx]
push 0
call fcn.00469ca0
add esp, 4
mov dword [edi + 0xc], 0
mov dword [edi + 8], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x48], 0
mov edx, 0x34
mov ecx, dword [ebx]
push 0
call fcn.00435490
add esp, 4
mov edi, eax
test eax, eax
je 0x49ccbe
mov eax, dword [esp]
mov dword [edi], 0
mov dword [edi + 0x20], 0
mov dword [edi + 4], 0
mov dword [edi + 0xc], 0
mov dword [edi + 8], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x30], 0
mov byte [edi], 0x77
mov word [edi + 0x22], 0xffff
mov dword [edi + 0x18], 1
mov edx, 0x14
mov ebx, dword [eax]
mov ecx, ebx
push 0
call fcn.00435490
add esp, 4
test eax, eax
jne 0x49ccd6
mov ecx, ebx
mov edx, edi
call fcn.00469b50
jmp 0x49ccf6
xor esi, esi
jmp 0x49cdbe
mov eax, dword [esp]
mov eax, dword [eax]
test eax, eax
je 0x49cb62
mov eax, dword [eax + 0xf0]
test eax, eax
je 0x49cb62
mov dword [eax + 0xc], 7
inc dword [eax + 0x24]
jmp 0x49cb62
mov eax, dword [esp]
mov edx, 0x14
mov ecx, dword [eax]
push 0
call fcn.00435490
add esp, 4
test eax, eax
je 0x49ccf6
mov dword [eax], 1
mov dword [eax + 0xc], 0
mov dword [eax + 8], 0
mov dword [eax + 0x10], 0
mov dword [eax + 4], edi
jmp 0x49ccf8
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword [ecx + 0x1c], eax
mov ecx, dword [esp]
mov ecx, dword [ecx]
test ecx, ecx
je 0x49cd19
mov edx, 0x50
push 0
call fcn.00435490
add esp, 4
jmp 0x49cd25
mov ecx, 0x50
xor edx, edx
call fcn.0041c030
mov ecx, dword [esp + 0x14]
test eax, eax
je 0x49cdbc
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 0xc], 0
mov dword [eax + 8], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x18], 0
mov dword [eax + 0x24], 0
mov dword [eax + 0x20], 0
mov dword [eax + 0x2c], 0
mov dword [eax + 0x28], 0
mov dword [eax + 0x34], 0
mov dword [eax + 0x30], 0
mov dword [eax + 0x3c], 0
mov dword [eax + 0x38], 0
mov dword [eax + 0x44], 0
mov dword [eax + 0x40], 0
mov dword [eax + 0x4c], 0
mov dword [eax + 0x48], 0
mov dword [ecx], eax
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret