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

Disassembly:
sub esp, 0x6c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x84]
push edi
xor edi, edi
mov byte [esp + 0x13], 0
mov byte [esp + 0x14], 0
mov dword [esp + 0x18], edi
test esi, esi
je 0x4e32af
cmp dword [esi], 0xc0dedbad
jne 0x4e32af
mov ecx, dword [esp + 0x80]
cmp byte [ecx + 0x118], 0
je 0x4e2180
mov edi, 0x2a
push esi
mov dword [esp + 0x1c], edi
call fcn.004e0e30
push 0
push edi
push esi
call fcn.004e1b20
add esp, 0x10
cmp dword [esi + 0x34], 0xf
je 0x4e2179
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x34], 0xf
dec dword [eax + 0x10]
mov eax, dword [esi + 0x7c]
cmp dword [eax + 0x10], 0
jne 0x4e2146
push eax
call fcn.004e3a70
add esp, 4
mov ebx, dword [esi + 0x18]
test ebx, ebx
je 0x4e2169
push esi
push ebx
call fcn.004f2490
push 0
lea eax, [esi + 0x28]
push eax
lea eax, [ebx + 0x2b4]
push eax
call fcn.004fb4c0
add esp, 0x14
push esi
mov dword [esi + 0x18], 0
call fcn.004e08c0
add esp, 4
mov ecx, dword [esp + 0x80]
mov al, byte [ecx + 0x116]
xor ebp, ebp
mov byte [esp + 0x12], 0
mov byte [ecx + 0x116], 0
test al, al
je 0x4e21a1
push ecx
call fcn.004e3b40
add esp, 4
mov ecx, dword [esi + 0x34]
lea ebx, [esi + 0x18]
lea eax, [ecx - 3]
cmp eax, 0xb
ja 0x4e21c0
cmp dword [ebx], ebp
jne 0x4e21c4
mov eax, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret
cmp dword [ebx], ebp
je 0x4e21f4
lea eax, [ecx - 2]
cmp eax, 0xc
ja 0x4e21f4
push 0
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x1a]
push eax
push dword [esp + 0x90]
push esi
call fcn.004e1f60
mov edi, dword [esp + 0x2c]
add esp, 0x14
test al, al
jne 0x4e30bd
mov ecx, dword [esi + 0x34]
cmp ecx, 0x10
ja case.default.0x4e21fc
jmp dword [ecx*4 + 0x4e32bc]
push esi
call fcn.004fa5b0
mov edi, eax
add esp, 4
mov dword [esp + 0x18], edi
test edi, edi
jne case.0x4e21fc.1
cmp dword [esi + 0x34], 2
je 0x4e2230
push esi
mov dword [esi + 0x34], 2
call fcn.004fa500
add esp, 4
push 1
lea eax, [esp + 0x40]
push esi
push eax
call fcn.00503330
add esp, 0xc
or ebp, 0xffffffff
movups xmm0, xmmword [eax]
mov eax, dword [esp + 0x84]
movups xmmword [eax], xmm0
jmp case.0x4e21fc.1
push 2
lea eax, [esp + 0x50]
push esi
push eax
call fcn.00503330
mov ebx, dword [esp + 0x90]
add esp, 0xc
movups xmm0, xmmword [eax]
movups xmmword [ebx], xmm0
mov eax, dword [esi + 0x1d8]
test eax, eax
je 0x4e228a
push 0xa
push 0
push eax
push esi
call fcn.004e06b0
add esp, 0x10
mov eax, dword [esi + 0x1dc]
test eax, eax
je 0x4e22a2
push 2
push 0
push eax
push esi
call fcn.004e06b0
add esp, 0x10
lea eax, [esp + 0x15]
push eax
lea eax, [esp + 0x1b]
push eax
push esi
call fcn.004ed920
mov edi, eax
add esp, 0xc
mov dword [esp + 0x18], edi
cmp edi, 0x59
jne 0x4e232c
cmp dword [esi + 0x34], 1
je 0x4e22cd
mov dword [esi + 0x34], 1
mov ebx, dword [esp + 0x80]
lea eax, [esi + 0x1c]
push eax
push esi
push dword [ebx + 0x28]
lea eax, [ebx + 0x24]
push eax
call fcn.004fb440
mov ecx, dword [esi + 0x14]
add esp, 0x10
mov eax, dword [esi + 0x10]
test ecx, ecx
je 0x4e22f7
mov dword [ecx + 0x10], eax
jmp 0x4e22fa
mov dword [ebx + 4], eax
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 0x14]
test ecx, ecx
je 0x4e2318
mov dword [ecx + 0x14], eax
xor edi, edi
mov dword [esi + 0x10], ebp
mov dword [esi + 0x14], ebp
mov dword [esp + 0x18], edi
jmp case.0x4e21fc.1
mov dword [ebx + 8], eax
xor edi, edi
mov dword [esi + 0x10], ebp
mov dword [esi + 0x14], ebp
mov dword [esp + 0x18], edi
jmp case.0x4e21fc.1
cmp byte [esi + 0xd23], 0
je 0x4e234b
push str.Transfer_was_pending__now_try_another
push esi
call fcn.004f2d10
push dword [esi + 0x7c]
call fcn.004e3b40
add esp, 0xc
test edi, edi
jne case.0x4e21fc.1
push 3
lea eax, [esp + 0x60]
push esi
push eax
call fcn.00503330
add esp, 0xc
cmp byte [esp + 0x17], 0
movups xmm0, xmmword [eax]
movups xmmword [ebx], xmm0
mov eax, dword [esi + 0x34]
je 0x4e2388
cmp eax, 3
je case.0x4e21fc.1
mov dword [esi + 0x34], 3
jmp case.0x4e21fc.1
or ebp, 0xffffffff
cmp byte [esp + 0x15], 0
je 0x4e23a7
cmp eax, 6
je case.0x4e21fc.1
mov dword [esi + 0x34], 6
jmp case.0x4e21fc.1
cmp eax, 4
je case.0x4e21fc.1
mov dword [esi + 0x34], 4
jmp case.0x4e21fc.1
mov eax, dword [ebx]
mov dword [esp + 0x1c], ebp
cmp byte [eax + 0x240], 0
je 0x4e23d0
mov ebx, dword [eax + 0x78]
jmp 0x4e23e1
cmp byte [eax + 0x249], 0
je 0x4e23de
mov ebx, dword [eax + 0x48]
jmp 0x4e23e1
mov ebx, dword [eax + 0x30]
push dword [eax + 0xec]
push ebx
push esi
call fcn.004fbc60
add esp, 0xc
mov dword [esp + 0x1c], eax
test eax, eax
je 0x4e2421
push ebx
push 0x5427d8
xor edi, edi
mov dword [esi + 0x938], eax
push esi
mov byte [esi + 0x94c], 1
mov dword [esp + 0x24], edi
call fcn.004f2d10
add esp, 0xc
cmp dword [esp + 0x1c], edi
jne 0x4e2435
lea eax, [esp + 0x1c]
push eax
push esi
call fcn.004fc850
mov edi, eax
add esp, 8
mov dword [esp + 0x18], edi
mov ebx, dword [esp + 0x80]
push esi
push ebx
call fcn.004e3bf0
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x4e3231
cmp dword [esp + 0x1c], eax
je 0x4e2471
lea eax, [esp + 0x15]
push eax
push esi
call fcn.004fc2a0
mov edi, eax
add esp, 8
mov dword [esp + 0x18], edi
test edi, edi
je 0x4e2483
mov dword [esi + 0x18], ebp
test edi, edi
je case.0x4e21fc.1
mov byte [esp + 0x12], 1
jmp case.0x4e21fc.1
mov eax, dword [esi + 0x34]
jmp 0x4e2388
lea eax, [esp + 0x13]
push eax
push esi
call fcn.004fddc0
mov edi, eax
add esp, 8
mov eax, dword [ebx]
mov dword [esp + 0x18], edi
cmp byte [eax + 0x244], 0
je 0x4e24da
xor edi, edi
or ebp, 0xffffffff
push edi
push edi
push esi
mov dword [esp + 0x24], edi
call fcn.004e1b20
add esp, 0xc
cmp dword [esi + 0x34], 2
je case.0x4e21fc.1
push esi
mov dword [esi + 0x34], 2
call fcn.004fa500
jmp 0x4e3065
test edi, edi
jne 0x4e2479
or ebp, 0xffffffff
cmp dword [esi + 0x34], 6
jmp 0x4e2395
lea eax, [esp + 0x15]
push eax
push 0
push 0
push esi
call fcn.004f2310
add esp, 0x10
mov edi, eax
cmp byte [esp + 0x15], 0
mov dword [esp + 0x18], edi
je 0x4e2519
test edi, edi
jne 0x4e2521
or ebp, 0xffffffff
cmp dword [esi + 0x34], 6
jmp 0x4e2395
test edi, edi
je case.0x4e21fc.1
push esi
call fcn.004e0e30
push 1
push edi
push esi
call fcn.004e1b20
add esp, 0x10
mov byte [esp + 0x12], 1
jmp case.0x4e21fc.1
mov ebx, dword [ebx]
test edi, edi
jne 0x4e2521
cmp byte [ebx + 0x247], 0
je 0x4e255b
mov dword [esi + 0x34], 8
or ebp, 0xffffffff
jmp case.0x4e21fc.1
test edi, edi
jne 0x4e2521
lea eax, [ebx + 0x24e]
mov byte [esp + 0x13], 0
push edi
push ebx
mov dword [esp + 0x24], eax
call fcn.004f27e0
add esp, 8
test al, al
mov eax, dword [esp + 0x1c]
je 0x4e25a1
cmp byte [eax], 0
je 0x4e25aa
mov eax, dword [ebx + 0x260]
movzx ecx, byte [esp + 0x13]
cmp dword [eax + 0x18], edi
mov eax, 1
cmove ecx, eax
mov byte [esp + 0x13], cl
jmp 0x4e25d6
cmp byte [eax], 0
mov dword [esp + 0x1c], eax
jne 0x4e25d6
mov eax, dword [ebx + 0x260]
mov eax, dword [eax + 0x14]
test eax, eax
je 0x4e25ca
lea ecx, [esp + 0x13]
push ecx
push esi
call eax
mov edi, eax
add esp, 8
test edi, edi
jne 0x4e25d6
jmp 0x4e25cf
mov byte [esp + 0x13], 1
mov eax, dword [esp + 0x1c]
mov byte [eax], 1
mov ecx, dword [esi + 0x34]
mov dword [esp + 0x18], edi
test edi, edi
jne 0x4e2521
cmp byte [esp + 0x13], 0
jne 0x4e2652
cmp ecx, 7
je 0x4e25f8
mov dword [esi + 0x34], 7
or ebp, 0xffffffff
jmp case.0x4e21fc.1
mov edx, dword [ebx]
test edx, edx
je 0x4e263c
mov eax, dword [edx + 0x260]
cmp dword [eax + 0x18], ebp
je 0x4e263c
mov byte [esp + 0x13], 0
lea ecx, [esp + 0x13]
mov eax, dword [edx + 0x260]
push ecx
push esi
mov eax, dword [eax + 0x18]
call eax
mov ecx, dword [esi + 0x34]
mov edi, eax
add esp, 8
mov dword [esp + 0x18], edi
test edi, edi
je 0x4e2647
jmp 0x4e2521
xor edi, edi
mov byte [esp + 0x13], 1
mov dword [esp + 0x18], edi
cmp byte [esp + 0x13], 0
je case.0x4e21fc.1
cmp ecx, 8
je 0x4e265e
mov dword [esi + 0x34], 8
or ebp, 0xffffffff
jmp case.0x4e21fc.1
cmp dword [esi + 0x1b4], ebp
je 0x4e2710
mov eax, dword [esi + 0x80]
lea edi, [esi + 0x7c]
test eax, eax
jne 0x4e2685
mov eax, dword [edi]
test eax, eax
je 0x4e268c
mov byte [eax + 0x117], 1
push dword [esi + 0xddc]
lea eax, [esi + 0xdaa]
push dword [esi + 0xdd8]
push eax
lea eax, [esi + 0xd7c]
push eax
push dword [esi + 0x1b8]
mov eax, dword [esi + 0x1b4]
call eax
mov ecx, dword [esi + 0x80]
add esp, 0x14
mov edx, eax
test ecx, ecx
je 0x4e26cc
mov byte [ecx + 0x117], 0
jmp 0x4e26d9
mov eax, dword [edi]
test eax, eax
je 0x4e26d9
mov byte [eax + 0x117], 0
test edx, edx
je 0x4e270d
push str.operation_aborted_by_pre_request_callback
push esi
call fcn.004f2c40
mov edi, 0x2a
push esi
mov dword [esp + 0x24], edi
call fcn.004e0e30
push 0
push edi
push esi
call fcn.004e1b20
add esp, 0x18
mov byte [esp + 0x12], 1
jmp case.0x4e21fc.1
mov ecx, dword [esi + 0x34]
cmp byte [esi + 0x69d], 1
mov edx, dword [esi + 0x18]
jne 0x4e2742
push 0
push edx
call fcn.004f5230
add esp, 8
cmp dword [esi + 0x34], 0xe
je 0x4e2734
mov dword [esi + 0x34], 0xe
xor edi, edi
or ebp, 0xffffffff
mov dword [esp + 0x18], edi
jmp case.0x4e21fc.1
mov eax, dword [edx + 0x260]
xor edi, edi
mov eax, dword [eax + 8]
test eax, eax
je 0x4e2764
lea ecx, [esp + 0x14]
push ecx
push esi
call eax
mov edx, dword [esi + 0x18]
add esp, 8
mov ecx, dword [esi + 0x34]
mov edi, eax
mov dword [esp + 0x18], edi
test edi, edi
jne 0x4e284d
cmp byte [esp + 0x14], 0
jne 0x4e2805
cmp byte [esi + 0xd1e], 0
je 0x4e27f1
mov eax, dword [esi + 0xd30]
mov al, byte [eax + 0x20]
cmp al, 7
je 0x4e2795
cmp al, 5
jne 0x4e27f1
push 0
push 0
push esi
call fcn.004e1b20
mov ebx, dword [esi + 0x18]
add esp, 0xc
mov eax, ebx
neg eax
sbb eax, eax
add eax, 0xf
cmp dword [esi + 0x34], eax
je 0x4e27e9
mov dword [esi + 0x34], eax
test ebx, ebx
jne 0x4e27d1
mov eax, dword [esi + 0x7c]
dec dword [eax + 0x10]
mov eax, dword [esi + 0x7c]
cmp dword [eax + 0x10], ebp
jne 0x4e27d1
push eax
call fcn.004e3a70
add esp, 4
xor eax, eax
test ebx, ebx
sete al
mov eax, dword [eax*4 + 0x542630]
test eax, eax
je 0x4e27e9
push esi
call eax
add esp, 4
or ebp, 0xffffffff
jmp case.0x4e21fc.1
cmp ecx, 9
je 0x4e27fd
mov dword [esi + 0x34], 9
or ebp, 0xffffffff
jmp case.0x4e21fc.1
cmp byte [edx + 0x24d], 0
je 0x4e2822
cmp ecx, 0xa
je 0x4e281a
mov dword [esi + 0x34], 0xa
or ebp, 0xffffffff
jmp case.0x4e21fc.1
cmp ecx, 0xb
je 0x4e2845
push 7
lea eax, [esp + 0x70]
mov dword [esi + 0x34], 0xb
push esi
push eax
mov byte [esi + 0x138], 0
call fcn.00503330
add esp, 0xc
or ebp, 0xffffffff
jmp case.0x4e21fc.1
cmp edi, 0x37
jne 0x4e290b
cmp byte [edx + 0x247], 0
je 0x4e290b
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], ebp
push eax
push esi
call fcn.004fad30
add esp, 8
test eax, eax
je 0x4e2884
mov edi, eax
mov byte [esp + 0x12], 1
mov dword [esp + 0x18], edi
push esi
call fcn.004e0e30
push 0
push edi
push esi
call fcn.004e1b20
mov ecx, dword [esp + 0x2c]
add esp, 0x10
test ecx, ecx
je 0x4e28fa
test eax, eax
je 0x4e28b9
cmp eax, 0x37
je 0x4e28b9
mov edi, eax
push ecx
mov dword [esp + 0x1c], edi
call dword [0x580004]
jmp 0x4e3065
push 2
push ecx
push esi
call fcn.004f9ff0
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x4e28e6
cmp dword [esi + 0x34], 2
je 0x4e28e1
push esi
mov dword [esi + 0x34], 2
call fcn.004fa500
add esp, 4
or ebp, 0xffffffff
xor edi, edi
mov ecx, dword [esp + 0x1c]
push ecx
mov dword [esp + 0x1c], edi
call dword [0x580004]
jmp 0x4e3065
push ecx
mov byte [esp + 0x16], 1
call dword [0x580004]
jmp 0x4e3065
push esi
call fcn.004e0e30
add esp, 4
cmp dword [esi + 0x18], ebp
je 0x4e2533
push 0
push edi
push esi
call fcn.004e1b20
add esp, 0xc
mov byte [esp + 0x12], 1
jmp case.0x4e21fc.1
mov edx, dword [ebx]
test edx, edx
je 0x4e2989
mov eax, dword [edx + 0x260]
cmp dword [eax + 0x1c], ebp
je 0x4e2989
mov byte [esp + 0x14], 0
lea ecx, [esp + 0x14]
mov eax, dword [edx + 0x260]
push ecx
push esi
mov eax, dword [eax + 0x1c]
call eax
mov edx, dword [esi + 0x18]
mov edi, eax
mov ecx, dword [esi + 0x34]
add esp, 8
mov dword [esp + 0x18], edi
test edi, edi
je 0x4e2994
push esi
call fcn.004e0e30
push 0
push edi
push esi
call fcn.004e1b20
add esp, 0x10
mov byte [esp + 0x12], 1
jmp case.0x4e21fc.1
xor edi, edi
mov byte [esp + 0x14], 1
mov dword [esp + 0x18], edi
cmp byte [esp + 0x14], 0
je case.0x4e21fc.1
mov dl, byte [edx + 0x24d]
xor eax, eax
test dl, dl
sete al
add eax, 0xa
cmp ecx, eax
je 0x4e27e9
mov dword [esi + 0x34], eax
xor eax, eax
test dl, dl
sete al
mov eax, dword [eax*4 + 0x542620]
jmp 0x4e27df
mov eax, dword [ebx]
xor edx, edx
mov dword [esp + 0x2c], edx
xor edi, edi
mov eax, dword [eax + 0x260]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x4e29f8
lea ecx, [esp + 0x2c]
push ecx
push esi
call eax
mov ecx, dword [esi + 0x34]
add esp, 8
mov edx, dword [esp + 0x2c]
mov edi, eax
mov dword [esp + 0x18], edi
test edi, edi
jne 0x4e296d
test edx, edx
je case.0x4e21fc.1
xor eax, eax
cmp edx, 1
sete al
lea eax, [eax*2 + 9]
cmp ecx, eax
je 0x4e27e9
mov dword [esi + 0x34], eax
mov eax, dword [eax*4 + 0x5425f8]
jmp 0x4e27df
mov eax, dword [ebx]
cmp byte [eax + 0x256], 0
je 0x4e2a53
mov ebx, dword [esp + 0x80]
push ebx
call fcn.004e3b40
mov ecx, dword [esi + 0x34]
lea ebx, [esi + 0x18]
add esp, 4
mov eax, dword [ebx]
cmp dword [eax + 0x278], 0xffffffff
jne 0x4e2a9e
cmp dword [eax + 0x27c], 0xffffffff
jne 0x4e2a9e
cmp byte [esi + 0xd1e], 0
je 0x4e2a89
mov eax, dword [eax + 0x260]
test dword [eax + 0x4c], 0x1000
jne 0x4e2a89
mov eax, dword [esi + 0xd30]
mov byte [eax + 0x20], 7
cmp dword [esi + 0x34], 0xe
je 0x4e2aaa
mov dword [esi + 0x34], 0xe
or ebp, 0xffffffff
jmp case.0x4e21fc.1
cmp ecx, 0xc
je 0x4e2aaa
mov dword [esi + 0x34], 0xc
or ebp, 0xffffffff
jmp case.0x4e21fc.1
push esi
call fcn.00503660
add esp, 4
test eax, eax
je 0x4e2acc
mov ebx, 0x2a
mov edi, ebx
mov dword [esp + 0x18], edi
jmp 0x4e2af3
mov ecx, dword [esp + 0x84]
sub esp, 0x10
mov eax, esp
movups xmm0, xmmword [ecx]
push esi
movups xmmword [eax], xmm0
call fcn.005049e0
mov edi, eax
add esp, 0x14
mov dword [esp + 0x18], edi
mov ebx, edi
test edi, edi
je 0x4e2b29
mov ecx, dword [esi + 0x18]
mov eax, dword [ecx + 0x260]
test byte [eax + 0x4c], 2
jne 0x4e2b12
cmp ebx, 0x5c
je 0x4e2b12
push 2
push ecx
call fcn.004f5230
add esp, 8
push esi
call fcn.004e0e30
push 1
push ebx
push esi
call fcn.004e1b20
add esp, 0x10
jmp case.0x4e21fc.1
mov edx, dword [esi + 0x208]
xorps xmm0, xmm0
mov ecx, dword [esi + 0x20c]
mov eax, edx
or eax, ecx
movlpd qword [esp + 0x30], xmm0
je 0x4e2b8f
mov ebx, dword [esp + 0x84]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmm0, xmmword [ebx]
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [esi + 0x7b0]
push ecx
push edx
push dword [esi + 0x7c4]
movups xmmword [eax], xmm0
push dword [esi + 0x7c0]
push dword [esi + 0x70c]
push dword [esi + 0x708]
call fcn.00502f70
add esp, 0x38
mov dword [esp + 0x1c], edx
mov ebx, eax
jmp 0x4e2b9b
mov eax, dword [esp + 0x34]
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x210]
xorps xmm0, xmm0
mov ecx, dword [esi + 0x214]
or eax, ecx
movlpd qword [esp + 0x24], xmm0
je 0x4e2c01
mov edx, dword [esp + 0x84]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmm0, xmmword [edx]
mov edx, dword [esi + 0x210]
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [esi + 0x7c8]
push ecx
push edx
push dword [esi + 0x7dc]
movups xmmword [eax], xmm0
push dword [esi + 0x7d8]
push dword [esi + 0x704]
push dword [esi + 0x700]
call fcn.00502f70
add esp, 0x38
mov ecx, eax
jmp 0x4e2c09
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov eax, ebx
or eax, dword [esp + 0x1c]
jne 0x4e2c44
mov eax, ecx
or eax, edx
jne 0x4e2c44
cmp dword [esi + 0x34], 0xc
je 0x4e2c24
mov dword [esi + 0x34], 0xc
mov ecx, dword [esp + 0x84]
sub esp, 0x10
mov eax, esp
movups xmm0, xmmword [ecx]
push esi
movups xmmword [eax], xmm0
call fcn.005039e0
add esp, 0x14
jmp case.0x4e21fc.1
mov eax, dword [esp + 0x1c]
cmp eax, edx
jl 0x4e2c64
jg 0x4e2c52
cmp ebx, ecx
jb 0x4e2c64
push 0xb
push eax
push ebx
push esi
call fcn.004e06b0
add esp, 0x10
jmp case.0x4e21fc.1
push 0xb
push edx
push ecx
push esi
call fcn.004e06b0
add esp, 0x10
jmp case.0x4e21fc.1
mov edx, dword [esi + 0x208]
xorps xmm0, xmm0
mov ecx, dword [esi + 0x20c]
mov eax, edx
or eax, ecx
mov dword [esp + 0x1c], ebp
mov byte [esp + 0x16], 0
movlpd qword [esp + 0x30], xmm0
je 0x4e2ce5
mov ebx, dword [esp + 0x84]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmm0, xmmword [ebx]
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [esi + 0x7b0]
push ecx
push edx
push dword [esi + 0x7c4]
movups xmmword [eax], xmm0
push dword [esi + 0x7c0]
push dword [esi + 0x70c]
push dword [esi + 0x708]
call fcn.00502f70
add esp, 0x38
mov dword [esp + 0x20], edx
mov ebx, eax
jmp 0x4e2cf1
mov eax, dword [esp + 0x34]
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x210]
xorps xmm0, xmm0
mov ecx, dword [esi + 0x214]
or eax, ecx
movlpd qword [esp + 0x24], xmm0
je 0x4e2d5b
mov edx, dword [esp + 0x84]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmm0, xmmword [edx]
mov edx, dword [esi + 0x210]
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [esi + 0x7c8]
push ecx
push edx
push dword [esi + 0x7dc]
movups xmmword [eax], xmm0
push dword [esi + 0x7d8]
push dword [esi + 0x704]
push dword [esi + 0x700]
call fcn.00502f70
add esp, 0x38
mov dword [esp + 0x24], eax
mov ecx, eax
jmp 0x4e2d67
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x24], ecx
mov eax, ebx
mov dword [esp + 0x30], edx
or eax, dword [esp + 0x20]
jne 0x4e2f4b
mov eax, ecx
or eax, edx
jne 0x4e2f4b
push esi
call fcn.004fa950
add esp, 4
mov edi, eax
cmp byte [esi + 0x12e], 0
mov dword [esp + 0x18], edi
jne 0x4e2dd9
cmp edi, 0x38
je 0x4e2dd9
cmp edi, 0x5c
jne 0x4e2e0f
mov ecx, dword [esi + 0x18]
mov eax, dword [ecx + 0x260]
test byte [eax + 0x4c], 2
jne 0x4e2dc2
cmp edi, 0x5c
je 0x4e2dc2
push 2
push ecx
call fcn.004f5230
add esp, 8
push esi
call fcn.004e0e30
push 1
push edi
push esi
call fcn.004e1b20
add esp, 0x10
jmp case.0x4e21fc.1
lea eax, [esp + 0x1c]
push eax
push esi
call fcn.004fad30
add esp, 8
test eax, eax
jne 0x4e2e05
cmp dword [esp + 0x1c], ebp
setne bl
test bl, bl
je 0x4e2e13
xor edi, edi
mov byte [esi + 0x12e], 1
mov dword [esp + 0x18], edi
jmp 0x4e2e17
test edi, edi
jne 0x4e2da3
mov edi, eax
mov dword [esp + 0x18], edi
mov bl, byte [esp + 0x16]
test edi, edi
jne 0x4e2da3
cmp byte [esi + 0x12e], 0
je 0x4e2f2a
push esi
call fcn.004e0e30
add esp, 4
test bl, bl
jne 0x4e2edb
cmp dword [esi + 0x120], ebp
jne 0x4e2eb7
cmp dword [esi + 0x11c], ebp
je 0x4e2e9e
push dword [esp + 0x1c]
call dword [0x580004]
mov eax, dword [esi + 0x11c]
push 1
push eax
push esi
mov dword [esp + 0x2c], eax
mov dword [esi + 0x11c], ebp
call fcn.004f9ff0
push dword [esp + 0x2c]
mov edi, eax
mov dword [esp + 0x2c], edi
call dword [0x580004]
add esp, 0x14
test edi, edi
je 0x4e2e9e
push 1
push edi
push esi
mov byte [esp + 0x1e], 1
call fcn.004e1b20
mov edi, eax
add esp, 0xc
mov dword [esp + 0x18], edi
test edi, edi
jne case.0x4e21fc.1
cmp dword [esi + 0x34], 0xe
je 0x4e27e9
mov dword [esi + 0x34], 0xe
or ebp, 0xffffffff
jmp case.0x4e21fc.1
push dword [esp + 0x1c]
call dword [0x580004]
mov eax, dword [esi + 0x120]
add esp, 4
mov dword [esp + 0x1c], eax
mov edi, 3
mov dword [esi + 0x120], ebp
jmp 0x4e2ee0
mov edi, 2
push 0
push 0
push esi
call fcn.004e1b20
push edi
push dword [esp + 0x2c]
push esi
call fcn.004f9ff0
mov edi, eax
add esp, 0x18
mov dword [esp + 0x18], edi
test edi, edi
jne 0x4e2f1b
cmp dword [esi + 0x34], 2
je 0x4e2f18
push esi
mov dword [esi + 0x34], 2
call fcn.004fa500
add esp, 4
or ebp, 0xffffffff
push dword [esp + 0x1c]
call dword [0x580004]
jmp 0x4e3065
cmp byte [esi + 0xd17], 0
je case.0x4e21fc.1
push 8
push 0
push 0
push esi
call fcn.004e06b0
add esp, 0x10
jmp case.0x4e21fc.1
mov ecx, dword [esp + 0x84]
sub esp, 0x10
mov eax, esp
movups xmm0, xmmword [ecx]
push esi
movups xmmword [eax], xmm0
call fcn.005039e0
add esp, 0x14
cmp dword [esi + 0x34], 0xd
je 0x4e2f73
mov dword [esi + 0x34], 0xd
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x30]
cmp eax, edx
jl 0x4e2f9b
jg 0x4e2fa3
mov ecx, dword [esp + 0x24]
cmp ebx, ecx
jb 0x4e2f9f
push 0xb
push eax
push ebx
push esi
call fcn.004e06b0
add esp, 0x10
jmp case.0x4e21fc.1
mov ecx, dword [esp + 0x24]
mov ebx, ecx
mov eax, edx
push 0xb
push eax
push ebx
push esi
call fcn.004e06b0
add esp, 0x10
jmp case.0x4e21fc.1
mov eax, dword [ebx]
or ebp, 0xffffffff
test eax, eax
je 0x4e2fec
cmp byte [eax + 0x256], 0
je 0x4e2fd7
mov ebx, dword [esp + 0x80]
push ebx
call fcn.004e3b40
add esp, 4
push 0
push edi
push esi
call fcn.004e1b20
add esp, 0xc
test edi, edi
cmove edi, eax
mov dword [esp + 0x18], edi
cmp byte [esi + 0xd1e], 0
je 0x4e3010
mov eax, dword [esi + 0xd30]
cmp byte [eax + 0x20], 7
je 0x4e3010
cmp dword [esi + 0x34], 0
je case.0x4e21fc.1
mov dword [esi + 0x34], 0
jmp case.0x4e21fc.1
cmp dword [esi + 0x34], 0xf
je case.0x4e21fc.1
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x34], 0xf
dec dword [eax + 0x10]
mov eax, dword [esi + 0x7c]
cmp dword [eax + 0x10], 0
jne 0x4e3035
push eax
call fcn.004e3a70
add esp, 4
mov ebx, dword [esi + 0x18]
test ebx, ebx
je 0x4e3058
push esi
push ebx
call fcn.004f2490
push 0
lea eax, [esi + 0x28]
push eax
lea eax, [ebx + 0x2b4]
push eax
call fcn.004fb4c0
add esp, 0x14
push esi
mov dword [esi + 0x18], 0
call fcn.004e08c0
add esp, 4
cmp dword [esi + 0x18], 0
lea ebx, [esi + 0x18]
je 0x4e30bd
mov eax, dword [esi + 0x34]
lea ebx, [esi + 0x18]
mov edx, dword [esp + 0x80]
sub eax, 2
cmp eax, 5
ja 0x4e30c4
lea ebx, [esi + 0x18]
cmp ebp, 0xffffffff
je 0x4e30c4
cmp byte [edx + 0x116], 0
lea ebx, [esi + 0x18]
jne 0x4e30c4
push 1
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x1a]
push eax
push dword [esp + 0x90]
push esi
call fcn.004e1f60
mov edi, dword [esp + 0x2c]
lea ebx, [esi + 0x18]
add esp, 0x14
mov edx, dword [esp + 0x80]
cmp dword [esi + 0x34], 0xf
jge 0x4e320f
test edi, edi
je 0x4e3196
push edx
call fcn.004e3b40
mov ebp, dword [ebx]
add esp, 4
test ebp, ebp
je 0x4e312c
cmp byte [esp + 0x12], 0
je 0x4e313b
cmp edi, 0x1c
push esi
push ebp
sete byte [esp + 0x40]
call fcn.004f2490
push 0
lea eax, [esi + 0x28]
push eax
lea eax, [ebp + 0x2b4]
push eax
call fcn.004fb4c0
push 1
push ebp
push esi
mov dword [ebx], 0
call fcn.004ea300
push dword [esp + 0x58]
push ebp
push esi
call fcn.004eda40
add esp, 0x2c
jmp 0x4e313b
cmp dword [esi + 0x34], 2
jne 0x4e313b
push esi
call fcn.004e0e30
add esp, 4
cmp dword [esi + 0x34], 0xf
je 0x4e3208
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x34], 0xf
dec dword [eax + 0x10]
mov eax, dword [esi + 0x7c]
cmp dword [eax + 0x10], 0
jne 0x4e3164
push eax
call fcn.004e3a70
add esp, 4
mov ebx, dword [esi + 0x18]
test ebx, ebx
je 0x4e3187
push esi
push ebx
call fcn.004f2490
push 0
lea eax, [esi + 0x28]
push eax
lea eax, [ebx + 0x2b4]
push eax
call fcn.004fb4c0
add esp, 0x14
push esi
mov dword [esi + 0x18], 0
call fcn.004e08c0
jmp 0x4e3205
cmp dword [ebx], 0
je 0x4e320b
push esi
call fcn.00503660
add esp, 4
test eax, eax
je 0x4e320b
push 2
push dword [ebx]
mov edi, 0x2a
mov dword [esp + 0x20], edi
call fcn.004f5230
mov ebx, dword [esi + 0x34]
xor eax, eax
add esp, 8
cmp ebx, 0xe
setge al
add eax, 0xe
cmp ebx, eax
je 0x4e3208
mov dword [esi + 0x34], eax
cmp ebx, 0xe
jl 0x4e31ef
mov eax, dword [esi + 0x7c]
dec dword [eax + 0x10]
mov eax, dword [esi + 0x7c]
cmp dword [eax + 0x10], 0
jne 0x4e31ef
push eax
call fcn.004e3a70
add esp, 4
xor eax, eax
cmp ebx, 0xe
setge al
mov eax, dword [eax*4 + 0x542630]
test eax, eax
je 0x4e3208
push esi
call eax
add esp, 4
or ebp, 0xffffffff
cmp dword [esi + 0x34], 0xf
je 0x4e323b
mov ecx, dword [esp + 0x80]
cmp ebp, 0xffffffff
je 0x4e2180
cmp byte [ecx + 0x116], 0
jne 0x4e2180
mov dword [esi + 0x38], edi
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret
mov eax, dword [esi + 0x678]
test eax, eax
je 0x4e3255
push edi
push esi
call eax
mov ebx, dword [esp + 0x88]
add esp, 8
jmp 0x4e327d
mov ebx, dword [esp + 0x80]
lea eax, [esi + 0x3c]
push eax
push eax
mov dword [eax + 0xc], 1
mov dword [eax + 0x10], esi
mov dword [eax + 0x14], edi
lea eax, [ebx + 0x14]
push dword [ebx + 0x18]
push eax
call fcn.004fb440
add esp, 0x10
cmp dword [esi + 0x34], 0x10
je 0x4e328a
mov dword [esi + 0x34], 0x10
lea eax, [esi + 0x1c]
push eax
push esi
push dword [ebx + 0x38]
lea eax, [ebx + 0x34]
push eax
call fcn.004fb440
push esi
push ebx
call fcn.004e4030
add esp, 0x18
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0x6c
ret