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

Disassembly:
sub esp, 0x110
mov eax, dword [0x100df300]
xor eax, esp
mov dword [esp + 0x10c], eax
mov eax, dword [esp + 0x124]
mov ecx, dword [esp + 0x114]
mov edx, dword [esp + 0x118]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x128]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x134]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x138]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 8], eax
push ebx
mov ebx, dword [esp + 0x124]
push ebp
mov ebp, dword [esp + 0x124]
mov dword [esp + 0x20], ebp
push esi
push edi
test ecx, ecx
je 0x1004b8b1
cmp ebp, dword [ecx + 0x34]
ja 0x1004b8b1
jb 0x1004b278
cmp edx, dword [ecx + 0x30]
jae 0x1004b8b1
mov ebp, dword [esp + 0x140]
cmp ebp, 0xffffffff
jl 0x1004b8b1
mov edi, dword [esp + 0x13c]
jg 0x1004b29a
cmp edi, 0xffffffff
jb 0x1004b8b1
test bl, 0x20
je 0x1004b2a2
or ebx, 4
mov byte [esp + 0x1f], 0
test bl, 8
jne 0x1004b2eb
mov eax, edx
shl eax, 4
add eax, dword [ecx + 0x40]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x1004b2dc
mov esi, ebx
and esi, 4
jne 0x1004b2e2
push ecx
call fcn.1004c780
add esp, 4
test al, al
je 0x1004b2e2
mov edx, dword [esp + 0x2c]
mov eax, ebx
mov byte [esp + 0x1f], 1
jmp 0x1004b2f5
cmp byte [eax + 0xc], 0
je 0x1004b2eb
push 0
push 0xf
jmp 0x1004b8b5
mov eax, ebx
mov esi, ebx
or eax, 8
and esi, 4
lea ecx, [esp + 0x44]
push ecx
push eax
push dword [esp + 0x30]
push edx
push dword [esp + 0x44]
call fcn.100518f0
add esp, 0x14
test eax, eax
jns 0x1004b319
push 0
push 0x14
jmp 0x1004b8b5
cmp dword [esp + 0x24], 0
mov ecx, dword [esp + 0x20]
ja 0x1004b334
jb 0x1004b32a
test ecx, ecx
jne 0x1004b334
test ebp, ebp
jl 0x1004b33c
jg 0x1004b334
test edi, edi
jb 0x1004b33c
test esi, esi
jne 0x1004b8b1
mov esi, dword [esp + 0x44]
mov eax, esi
and eax, 4
or eax, 0
je 0x1004b34e
mov dl, 1
jmp 0x1004b350
xor dl, dl
mov byte [esp + 0x16], dl
test ebp, ebp
jl 0x1004b3c4
jg 0x1004b35e
test edi, edi
jb 0x1004b3c4
cmp dword [esp + 0x24], 0
mov eax, dword [esp + 0x20]
ja 0x1004b36d
test eax, eax
je 0x1004b38f
mov ecx, eax
mov eax, dword [esp + 0x24]
add ecx, edi
adc eax, ebp
cmp eax, dword [esp + 0x24]
jb 0x1004b8b1
mov eax, dword [esp + 0x20]
ja 0x1004b38f
cmp ecx, eax
jb 0x1004b8b1
mov ecx, dword [esp + 0x60]
test dl, dl
mov edx, dword [esp + 0x5c]
je 0x1004b3bb
mov esi, eax
mov eax, dword [esp + 0x24]
add esi, edi
adc eax, ebp
cmp eax, ecx
ja 0x1004b8b1
jb 0x1004b3b7
cmp esi, edx
ja 0x1004b8b1
mov esi, dword [esp + 0x44]
cmp byte [esp + 0x16], 0
je 0x1004b404
jmp 0x1004b3f1
test dl, dl
je 0x1004b3ff
mov edx, dword [esp + 0x5c]
mov edi, edx
sub edi, ecx
mov ecx, dword [esp + 0x60]
mov ebp, ecx
sbb ebp, dword [esp + 0x24]
cmp ebp, 0x7fffffff
ja 0x1004b8b1
jb 0x1004b3f1
cmp edi, 0xffffffff
ja 0x1004b8b1
cmp ebp, ecx
ja 0x1004b3fb
jb 0x1004b404
cmp edi, edx
jb 0x1004b404
xor dh, dh
jmp 0x1004b406
or edi, 0xffffffff
or ebp, edi
mov dh, 1
mov eax, esi
mov byte [esp + 0x15], dh
and eax, 0x80
or eax, 0
je 0x1004b425
cmp word [esp + 0x7a], 0
je 0x1004b425
mov eax, 1
jmp 0x1004b427
xor eax, eax
test bl, 0x20
jne 0x1004b434
test eax, eax
je 0x1004b434
mov dl, 1
jmp 0x1004b436
xor dl, dl
mov eax, esi
mov byte [esp + 0x14], dl
and eax, 0x40
or eax, 0
je 0x1004b450
cmp word [esp + 0x78], 0
je 0x1004b450
mov al, 1
jmp 0x1004b452
xor al, al
mov ecx, ebx
and ecx, 4
jne 0x1004b464
test al, al
je 0x1004b464
mov byte [esp + 0x13], 1
jmp 0x1004b476
mov byte [esp + 0x13], 0
test ecx, ecx
je 0x1004b476
mov byte [esp + 0x13], 0
test al, al
jne 0x1004b487
test dh, dh
jne 0x1004b487
and esi, 0x20
mov byte [esp + 0x17], 1
or esi, 0
jne 0x1004b48c
mov byte [esp + 0x17], 0
test dl, dl
je 0x1004b4ae
cmp dword [esp + 0x3c], 0
jne 0x1004b4ae
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 0x1c]
mov dword [esp + 0x3c], eax
test eax, eax
jne 0x1004b4ae
push eax
push 0x1a
jmp 0x1004b8b5
push dword [esp + 0x18]
push ebx
push dword [esp + 0x30]
mov ebx, dword [esp + 0x40]
push dword [esp + 0x38]
push ebx
call fcn.1004edf0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x1004b8c1
lea eax, [esp + 0x104]
push eax
call fcn.1004a950
mov dword [esp + 0x108], 0x1b
add esp, 4
mov dword [esp + 0x108], 0
mov al, byte [esi + 0x48]
and al, 1
mov byte [esp + 0x10e], al
mov al, byte [esi + 9]
mov byte [esp + 0x10d], al
mov eax, dword [esi + 0x4c]
mov dword [esp + 0x110], eax
mov ax, word [esi + 0xc]
mov word [esp + 0x114], ax
mov eax, 0x836
mov word [esp + 0x116], ax
mov eax, dword [esp + 0x44]
and eax, 8
or eax, 0
je 0x1004b541
mov al, 1
jmp 0x1004b543
xor al, al
cmp byte [esp + 0x14], 0
mov ecx, dword [esp + 0x68]
mov esi, dword [esp + 0x64]
jne 0x1004b56a
cmp byte [esp + 0x13], 0
jne 0x1004b56a
cmp byte [esp + 0x16], 0
je 0x1004b578
mov eax, dword [esp + 0x5c]
or eax, dword [esp + 0x60]
jmp 0x1004b572
test al, al
je 0x1004b578
mov eax, esi
or eax, ecx
jne 0x1004b578
mov al, 1
jmp 0x1004b57a
xor al, al
test al, al
je 0x1004b5ad
push dword [esp + 0x18]
lea eax, [esp + 0x108]
push eax
push 0
push 0
push 0
push 0
call fcn.1004a3a0
mov ecx, dword [esp + 0x80]
mov edx, eax
mov esi, dword [esp + 0x7c]
add esp, 0x18
mov eax, dword [esp + 0x44]
jmp 0x1004b5af
xor edx, edx
test edx, edx
setne byte [esp + 0x38]
cmp byte [esp + 0x1f], 0
jne 0x1004b5c5
test edx, edx
jne 0x1004b5c5
xor al, al
jmp 0x1004b5c7
mov al, 1
cmp byte [esp + 0x15], 0
je 0x1004b701
cmp byte [esp + 0x14], 0
jne 0x1004b701
cmp byte [esp + 0x13], 0
jne 0x1004b701
test al, al
je 0x1004b620
test edx, edx
jne 0x1004b5fd
mov ecx, dword [esp + 0x2c]
mov eax, dword [ebx + 0x40]
add ecx, ecx
mov edx, dword [eax + ecx*8 + 8]
xorps xmm0, xmm0
mov dword [esp + 0x40], 0
movlpd qword [esp + 0x2c], xmm0
mov eax, dword [esp + 0x30]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x2c], eax
jmp 0x1004b626
mov edx, dword [ebx]
mov dword [esp + 0x40], ebx
xor eax, eax
xor ebx, ebx
mov word [esp + 0xb8], ax
mov esi, 0x40
mov dword [esp + 0x84], esi
mov dword [esp + 0x88], ebx
test ebp, ebp
jl 0x1004b680
jg 0x1004b64f
test edi, edi
jb 0x1004b680
mov esi, 0x4c
mov dword [esp + 0x9c], edi
xor ebx, ebx
mov dword [esp + 0xa0], ebp
mov dword [esp + 0xa4], edi
mov dword [esp + 0xa8], ebp
mov dword [esp + 0x84], esi
mov dword [esp + 0x88], ebx
mov eax, dword [esp + 0x44]
and eax, 0x10
or eax, 0
je 0x1004b6b3
mov eax, dword [esp + 0x6c]
or esi, 0x10
mov ecx, dword [esp + 0x70]
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], ecx
mov dword [esp + 0x84], esi
mov dword [esp + 0x88], ebx
push dword [esp + 0x18]
lea eax, [esp + 0x108]
push dword [esp + 0x3c]
push dword [esp + 0x30]
push dword [esp + 0x38]
push dword [esp + 0x50]
push eax
push 0
push 1
lea eax, [esp + 0xa4]
push eax
push ebp
push edi
push dword [esp + 0x50]
push dword [esp + 0x50]
push edx
call fcn.10050380
mov esi, eax
add esp, 0x38
test esi, esi
je 0x1004b8c1
mov ebx, dword [esp + 0x34]
jmp 0x1004b791
test al, al
jne 0x1004b748
cmp ecx, 0x7fffffff
ja 0x1004b8b1
jb 0x1004b71c
cmp esi, 0xffffffff
ja 0x1004b8b1
push dword [esp + 0x18]
lea eax, [esp + 0x108]
push dword [esp + 0x3c]
push dword [esp + 0x30]
push dword [esp + 0x38]
push ebx
push eax
push 0
push 1
lea eax, [esp + 0x64]
push eax
push ecx
push esi
push 0
push 0
push dword [ebx]
jmp 0x1004b77f
test edx, edx
jne 0x1004b759
mov ecx, dword [esp + 0x2c]
mov eax, dword [ebx + 0x40]
add ecx, ecx
mov edx, dword [eax + ecx*8 + 8]
push dword [esp + 0x18]
lea eax, [esp + 0x108]
push dword [esp + 0x3c]
push 0
push 0
push 0
push eax
push 0
push 1
lea eax, [esp + 0x64]
push eax
push ebp
push edi
push 0
push 0
push edx
call fcn.10050380
mov esi, eax
add esp, 0x38
test esi, esi
je 0x1004b8c1
push ebx
push esi
call fcn.10050310
add esp, 8
test eax, eax
js 0x1004b7f5
cmp byte [esp + 0x14], 0
je 0x1004b7da
push 0
push dword [esp + 0x7e]
call fcn.1004ba00
add esp, 8
test eax, eax
jne 0x1004b7c0
push eax
push 0x18
jmp 0x1004b8b5
push dword [esp + 0x3c]
push 0
push dword [esp + 0x82]
push esi
push ebx
call eax
add esp, 0x14
test eax, eax
je 0x1004b7f5
mov esi, eax
cmp byte [esp + 0x13], 0
je 0x1004b805
movzx eax, word [esp + 0x78]
push eax
push esi
push ebx
call fcn.1004c200
add esp, 0xc
test eax, eax
jne 0x1004b803
push esi
call fcn.1004a8d0
add esp, 4
jmp 0x1004b8c1
mov esi, eax
cmp byte [esp + 0x17], 0
mov ebx, dword [esp + 0x18]
je 0x1004b822
push ebx
push 1
push esi
call fcn.1004c5f0
add esp, 0xc
test eax, eax
je 0x1004b7f5
mov esi, eax
cmp byte [esp + 0x15], 0
je 0x1004b8ad
cmp byte [esp + 0x14], 0
jne 0x1004b83b
cmp byte [esp + 0x13], 0
je 0x1004b8ad
lea eax, [esp + 0xc4]
push eax
call fcn.1004b9a0
add esp, 4
test ebp, ebp
jl 0x1004b879
jg 0x1004b855
test edi, edi
jb 0x1004b879
mov dword [esp + 0xc4], 4
mov dword [esp + 0xc8], 0
mov dword [esp + 0xdc], edi
mov dword [esp + 0xe0], ebp
push ebx
push 1
push 0
push 0
push 0
push 0
push 0
push 1
lea eax, [esp + 0xe4]
push eax
push ebp
push edi
push dword [esp + 0x50]
push dword [esp + 0x50]
push esi
call fcn.10050380
add esp, 0x38
test eax, eax
je 0x1004b7f5
mov esi, eax
mov eax, esi
jmp 0x1004b8c3
push 0
push 0x12
push dword [esp + 0x20]
call fcn.1004a5c0
add esp, 0xc
xor eax, eax
mov ecx, dword [esp + 0x11c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10075013
add esp, 0x110
ret