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

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, dword [esp + 0x28]
mov eax, dword [esi + 8]
push edi
mov edi, edx
xor edx, edx
cmp eax, edx
mov ebp, ecx
mov dword [esp + 0x24], edi
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], edx
mov dword [esp + 0x20], edx
mov ebx, 1
mov dword [esp + 0x10], edx
jne 0x49bb25
mov eax, dword [esi]
push 0x28
push eax
mov dword [esi + 0x30], edx
call fcn.00563730
add esp, 8
test eax, eax
je 0x49bb7a
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
push 0x63
push ecx
push edx
mov edx, dword [edi]
push esi
mov ecx, ebp
call fcn.004ed570
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0x38
mov eax, dword [esi + 0x40]
cmp eax, edx
je 0x49bb54
xor ecx, ecx
mov dword [esp + 0x10], eax
cmp dword [eax + 0x1c], edx
je 0x49bb63
cmp dword [eax + 0xc], edx
je 0x49bb41
mov edi, dword [eax]
mov byte [edi], 0
mov edi, dword [esi + 8]
inc ecx
cmp edi, ecx
je 0x49bb76
mov eax, dword [eax + 0x40]
cmp eax, edx
jne 0x49bb32
mov dword [esp + 0x10], eax
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0x18
ret 0x38
pop edi
pop esi
pop ebp
mov dword [esp + 4], eax
mov eax, 1
pop ebx
add esp, 0x18
ret 0x38
mov dword [esp + 0x10], eax
mov eax, dword [esi]
cmp byte [eax], 0x24
jne 0x49bb8b
mov cl, byte [eax + 1]
inc eax
cmp cl, 0x24
jne 0x49bb8b
inc eax
mov edi, dword [esp + 0x38]
mov edx, edi
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x49bb93
push 0x28
push edi
call fcn.00563730
add esp, 8
test eax, eax
je 0x49bbaf
mov byte [eax], 0
mov eax, dword [esi + 0x10]
test eax, eax
je 0x49bc0a
mov eax, dword [esi]
push 0x2e
push eax
call fcn.00563c90
mov esi, eax
add esp, 8
test esi, esi
je 0x49bc0a
mov al, byte [esi + 1]
inc esi
test al, al
je 0x49bc0a
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x49bbd6
sub eax, edx
add eax, 0xa
push eax
call fcn.005635a3
mov edx, eax
add esp, 4
test edx, edx
mov dword [esp + 0x20], edx
je 0x49bc0a
mov eax, esi
sub edx, esi
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x49bc00
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x3c]
push ecx
mov ecx, edi
call fcn.0040cc60
mov esi, eax
test esi, esi
je 0x49bf13
cmp esi, dword [esp + 0x30]
je 0x49bf2d
mov ecx, dword [esi + 0x2c]
test ecx, ecx
je 0x49bc49
call fcn.00417d00
test eax, eax
je 0x49bf2b
mov edx, dword [esi + 0x2c]
mov dword [esp + 0x48], edx
mov edi, dword [esi]
cmp byte [edi], 0x20
jne 0x49bc58
mov al, byte [edi + 1]
inc edi
cmp al, 0x20
je 0x49bc50
mov al, byte [edi]
test al, al
je 0x49bf2d
cmp al, 0x61
je 0x49bc6a
cmp al, 0x41
jne 0x49bcbb
push 6
push 0x574f00
push edi
call fcn.00572b89
add esp, 0xc
test eax, eax
jne 0x49bcbb
mov al, byte [edi + 6]
add edi, 6
cmp al, 0x20
jne 0x49bc90
mov al, byte [edi + 1]
inc edi
cmp al, 0x20
je 0x49bc88
cmp byte [edi], 0
je 0x49bcbb
push 3
push 0x574f18
push edi
call fcn.00572b89
add esp, 0xc
test eax, eax
jne 0x49bcbb
mov al, byte [edi + 3]
add edi, 3
cmp al, 0x20
jne 0x49bcbb
mov al, byte [edi + 1]
inc edi
cmp al, 0x20
je 0x49bcb3
push 0x20
push edi
call fcn.00563730
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x49bf2d
cmp byte [ebp], 0x20
jne 0x49bcde
mov al, byte [ebp + 1]
inc ebp
cmp al, 0x20
je 0x49bcd6
cmp byte [ebp], 0
je 0x49bf2d
mov eax, dword [esp + 0x10]
test eax, eax
je 0x49bd39
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x40]
xor edi, edi
test eax, eax
mov dword [esp + 0x10], eax
je 0x49bd39
mov edx, dword [eax]
mov ecx, dword [esp + 0x14]
push 0
call fcn.004c2560
test eax, eax
mov dword [esp + 0x1c], eax
je 0x49be96
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x14], eax
mov eax, dword [ecx + 8]
inc edi
cmp eax, edi
je 0x49bd39
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x40]
test eax, eax
mov dword [esp + 0x10], eax
jne 0x49bd01
mov edx, dword [esp + 0x40]
xor eax, eax
test edx, edx
setne al
inc eax
mov edi, eax
cmp byte [ebp], 0x7b
jne 0x49be83
mov al, byte [ebp + 1]
inc ebp
cmp al, 0x20
jne 0x49bd68
lea esp, [esp]
mov al, byte [ebp + 1]
inc ebp
cmp al, 0x20
je 0x49bd60
cmp byte [ebp], 0
je 0x49be17
push 0
mov edx, ebp
xor ecx, ecx
call fcn.004c2560
test eax, eax
mov dword [esp + 0x1c], eax
jne 0x49bd98
mov ecx, dword [esp + 0x18]
push 2
push eax
xor edx, edx
call fcn.00475f10
jmp 0x49bf2b
mov ecx, dword [esi + 0x40]
mov edx, dword [esp + 0x60]
push edx
mov edx, dword [esp + 0x58]
mov dword [eax + 0x40], ecx
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x5c]
push eax
mov eax, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x54]
push edx
mov edx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x5c]
push esi
push edx
mov edx, dword [esp + 0x54]
push eax
mov eax, dword [esp + 0x60]
push 1
push 0
push ecx
mov ecx, dword [esp + 0x68]
push 1
push 1
push esi
push edx
mov edx, dword [esp + 0x8c]
push eax
push ecx
mov ecx, dword [esp + 0x60]
push edx
mov edx, dword [esp + 0x68]
push edi
push 0
call fcn.00435db0
mov ebx, eax
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x1c]
mov dword [eax + 0x40], 0
call fcn.004c29d0
jmp 0x49bf2d
mov edx, dword [esi + 0x40]
test edx, edx
je 0x49bf2b
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x5c]
push eax
mov eax, dword [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x5c]
push eax
mov eax, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x2c]
push esi
push ecx
mov ecx, dword [esp + 0x64]
push eax
mov eax, dword [esp + 0x58]
push 1
push 0
push ecx
mov ecx, dword [esp + 0x6c]
push 1
push 1
push esi
push eax
mov eax, dword [esp + 0x78]
push ecx
mov ecx, dword [esp + 0x90]
push eax
push ecx
mov ecx, dword [esp + 0x64]
push edi
push 0
call fcn.00435db0
mov ebx, eax
jmp 0x49bf2d
push 0
mov edx, ebp
xor ecx, ecx
call fcn.004c2560
test eax, eax
mov dword [esp + 0x1c], eax
jne 0x49beaa
mov ecx, dword [esp + 0x18]
push 2
push 0
xor edx, edx
call fcn.00475f10
jmp 0x49bf2b
mov edx, dword [esp + 0x60]
mov ecx, dword [esp + 0x5c]
push edx
mov edx, dword [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x5c]
push edx
mov edx, dword [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x58]
push edx
mov edx, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x2c]
push esi
push edx
mov edx, dword [esp + 0x64]
push ecx
mov ecx, dword [esp + 0x58]
push 1
push 0
push edx
mov edx, dword [esp + 0x6c]
push 1
push 1
push esi
push ecx
mov ecx, dword [esp + 0x78]
push edx
mov edx, dword [esp + 0x90]
push ecx
mov ecx, dword [esp + 0x60]
push edx
push edi
push 0
mov edx, eax
call fcn.00435db0
lea ecx, [esp + 0x1c]
mov ebx, eax
call fcn.004c29d0
jmp 0x49bf2d
mov eax, dword [0x59ca6c]
test eax, eax
je 0x49bf2d
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x2c]
push 0xd
call fcn.004764c0
xor ebx, ebx
mov eax, dword [esp + 0x20]
test eax, eax
je 0x49bf3e
push eax
call fcn.005635b5
add esp, 4
mov eax, dword [esp + 0x14]
test eax, eax
je 0x49bf4f
lea ecx, [esp + 0x14]
call fcn.004c29d0
test ebx, ebx
je 0x49bfbf
cmp ebx, 2
je 0x49bfbf
cmp ebx, 3
je 0x49bf64
mov ecx, dword [esp + 0x34]
mov byte [ecx], 0
mov eax, dword [esp + 0x10]
test eax, eax
je 0x49bfa5
mov edx, dword [esp + 0x2c]
cmp dword [edx + 0x40], eax
je 0x49bf91
mov esi, dword [esp + 0x24]
mov edi, edx
mov ebx, eax
lea ecx, [ecx]
mov edx, dword [edi + 0x40]
mov ecx, dword [esi]
call fcn.004c2730
mov dword [esi], eax
cmp dword [edi + 0x40], ebx
jne 0x49bf80
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x24]
mov edx, dword [eax + 0x40]
mov ecx, dword [esi]
call fcn.004c2730
mov dword [esi], eax
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
mov dword [ecx + 8], 0
mov eax, 2
pop ebx
add esp, 0x18
ret 0x38
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret 0x38