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

Disassembly:
push 0xffffffffffffffff
push 0x100ba7ba
mov eax, dword fs:[0]
push eax
sub esp, 0x70
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100f6f50]
xor eax, esp
push eax
lea eax, [esp + 0x84]
mov dword fs:[0], eax
mov esi, ecx
mov edx, dword [esp + 0xc4]
mov eax, dword [esp + 0xb8]
mov ecx, dword [esp + 0xc0]
mov edi, dword [esp + 0xb0]
mov ebx, dword [esp + 0xb4]
mov ebp, dword [esp + 0xbc]
mov dword [esp + 0x70], edx
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0xc8]
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0xcc]
lea edx, [esp + 0x3c]
push edx
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
call fcn.10048b20
mov dword [esp + 0x8c], 0
cmp dword [esi + 0x18], 0x10
jb 0x10049d78
mov eax, dword [esi + 4]
jmp 0x10049d7b
lea eax, [esi + 4]
push esi
push eax
lea ecx, [esp + 0x24]
call fcn.1004a7c0
cmp dword [esi + 0x18], 0x10
jb 0x10049d91
mov eax, dword [esi + 4]
jmp 0x10049d94
lea eax, [esi + 4]
push esi
push eax
lea ecx, [esp + 0x1c]
call fcn.1004a7c0
nop
cmp edi, 0xfffffffc
je 0x10049db4
test edi, edi
je 0x10049daf
cmp edi, dword [esp + 0x64]
je 0x10049db4
call fcn.1008ddef
mov eax, ebx
sub eax, ebp
neg eax
sbb eax, eax
test eax, 0x10049000
je 0x10049ee3
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
push ebx
push edi
push ecx
mov ecx, dword [esp + 0x28]
push edx
push eax
push ecx
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x58]
call fcn.100494a0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x64]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x58]
lea edi, [ecx + eax]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ebp
cmp eax, edi
jbe 0x10049e1b
call fcn.1008ddef
mov edx, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x74]
push ecx
mov ecx, dword [esp + 0x74]
push edx
mov edx, dword [esp + 0xbc]
push ecx
push edi
push eax
push edx
lea eax, [esp + 0x58]
push eax
call fcn.10048e60
mov eax, dword [esi + 0x18]
cmp eax, 0x10
jb 0x10049e54
mov ecx, dword [esi + 4]
jmp 0x10049e57
lea ecx, [esi + 4]
mov ebx, dword [esi + 0x14]
lea edi, [ebx + ecx]
test edi, edi
je 0x10049e80
lea ecx, [esi + 4]
cmp eax, 0x10
jb 0x10049e6d
mov edx, dword [ecx]
jmp 0x10049e6f
mov edx, ecx
cmp edx, edi
ja 0x10049e80
cmp eax, 0x10
jb 0x10049e7a
mov ecx, dword [ecx]
add ebx, ecx
cmp edi, ebx
jbe 0x10049e85
call fcn.1008ddef
mov ecx, dword [esp + 0x64]
push edi
push esi
push ebp
push ecx
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0xa8]
push eax
call fcn.1004a0a0
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
mov edi, dword [eax]
mov eax, dword [eax + 0xc]
mov ebx, ecx
mov ecx, dword [esp + 0xa0]
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0xa4]
mov ebp, eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0xac]
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
jmp 0x10049da0
mov edi, 0x10
cmp dword [esi + 0x18], edi
jb 0x10049ef2
mov ecx, dword [esi + 4]
jmp 0x10049ef5
lea ecx, [esi + 4]
mov eax, dword [esi + 0x14]
add eax, ecx
push esi
push eax
lea ecx, [esp + 0x2c]
call fcn.1004a7c0
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
push edx
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x28]
push edx
push eax
push ecx
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x58]
call fcn.100494a0
mov ecx, dword [esp + 0x58]
test ecx, ecx
jne 0x10049f78
cmp dword [esi + 0x18], edi
jb 0x10049f43
mov ecx, dword [esi + 4]
jmp 0x10049f46
lea ecx, [esi + 4]
mov eax, dword [esi + 0x14]
add eax, ecx
push esi
push eax
lea ecx, [esp + 0x2c]
call fcn.1004a7c0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x20]
push ecx
push edx
push eax
lea ecx, [esp + 0x34]
push ecx
mov edi, esi
call fcn.10049660
jmp 0x10049fe8
mov eax, dword [esp + 0x54]
lea edx, [ecx + eax]
mov dword [esp + 0x14], edx
cmp eax, edx
jbe 0x10049f94
call fcn.1008ddef
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x54]
mov ebx, dword [esp + 0x3c]
add ecx, eax
mov ebp, eax
cmp eax, ecx
jbe 0x10049fa5
call fcn.1008ddef
cmp dword [esi + 0x18], 0x10
mov edi, dword [esp + 0x3c]
jb 0x10049fb4
mov ecx, dword [esi + 4]
jmp 0x10049fb7
lea ecx, [esi + 4]
mov eax, dword [esi + 0x14]
add eax, ecx
push esi
push eax
lea ecx, [esp + 0x2c]
call fcn.1004a7c0
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
push edx
push ebx
push ebp
push edi
push eax
push ecx
push eax
mov eax, dword [esp + 0xcc]
push ecx
push eax
call fcn.10049c00
mov dword [esp + 0x8c], 0xffffffff
lea ecx, [esp + 0x3c]
push ecx
call fcn.10048bf0
mov ecx, dword [esp + 0x84]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret