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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], ecx
mov ebx, edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x49e381
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.0049d618
test ebx, ebx
je 0x49e363
mov dl, 1
mov eax, dword [0x40d128]
call fcn.00402e3c
mov dword [ebp - 4], eax
xor ecx, ecx
push ebp
push 0x49e35c
push dword fs:[ecx]
mov dword fs:[ecx], esp
xor ecx, ecx
push ebp
push 0x49e32d
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov eax, ebx
call fcn.00403e50
push 0x49d780
push eax
mov eax, dword [ebp - 8]
push eax
call fcn.0048ecb0
mov ebx, eax
test bl, bl
je 0x49e323
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x24]
call fcn.00410774
test eax, eax
jle 0x49e323
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x24]
mov eax, dword [eax + 4]
mov ecx, dword [eax]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x28]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 8], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 0xc], ecx
mov ecx, dword [eax + 0xc]
mov dword [edx + 0x10], ecx
mov ecx, dword [eax + 0x10]
mov dword [edx + 0x14], ecx
mov eax, dword [eax + 0x14]
mov dword [edx + 0x18], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x24]
xor ecx, ecx
mov edx, 0x18
mov ebx, dword [eax]
call dword [ebx + 0xc]
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x24]
call fcn.0049d7b4
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x28]
add eax, 0x1c
call fcn.00403a64
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x24]
call fcn.0049d7b4
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x28]
add eax, 0x20
call fcn.00403a64
mov eax, dword [ebp - 8]
mov ebx, dword [eax + 0x28]
mov eax, dword [ebx + 0xc]
cmp eax, dword [ebx + 0x10]
jne 0x49db07
mov eax, dword [ebx + 0x1c]
mov edx, dword [ebx + 0x20]
call fcn.00403d9c
jne 0x49db07
xor eax, eax
jmp 0x49db09
mov al, 1
mov edx, dword [ebp - 8]
mov byte [edx + 0x35], al
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x28]
mov eax, dword [eax + 0x14]
dec eax
test eax, eax
jl 0x49dd44
inc eax
mov dword [ebp - 0x10], eax
mov dl, 1
mov eax, dword [0x49ced4]
call fcn.0049d26c
mov ebx, eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x24]
mov edx, dword [ebp - 4]
call fcn.0049d890
mov eax, dword [ebp - 4]
call fcn.00410774
test eax, eax
jle 0x49dd2e
lea edx, [ebp - 0xc]
mov ecx, 4
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 4]
mov eax, dword [ebp - 0xc]
mov dword [ebx + 4], eax
mov eax, dword [ebp - 8]
cmp byte [eax + 0x35], 0
jne 0x49db7a
cmp dword [ebp - 0xc], 0
jne 0x49db7a
xor eax, eax
jmp 0x49db7c
mov al, 1
mov edx, dword [ebp - 8]
mov byte [edx + 0x35], al
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0049d7b4
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 8]
call fcn.00403a64
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0049d7b4
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0xc]
call fcn.00403a64
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0049d7b4
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x10]
call fcn.00403a64
lea edx, [ebp - 0xc]
mov ecx, 4
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 4]
cmp dword [ebp - 0xc], 0xffffffff
je 0x49dc1c
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.0049d820
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x18]
call fcn.00404044
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0049d7b4
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x1c]
call fcn.00403a64
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0049d7b4
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x20]
call fcn.00403a64
lea edx, [ebp - 0xc]
mov ecx, 4
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 4]
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0x14], eax
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0049d7b4
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x24]
call fcn.00403a64
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0049d7b4
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x28]
call fcn.00403a64
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0049d7b4
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x2c]
call fcn.00403a64
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0049d7b4
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x30]
call fcn.00403a64
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0049d7b4
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x34]
call fcn.00403a64
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0049d7b4
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x38]
call fcn.00403a64
lea edx, [ebp - 0xc]
mov ecx, 4
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 4]
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0049d7b4
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x3c]
call fcn.00403a64
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0049d7b4
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x40]
call fcn.00403a64
lea edx, [ebp - 0xc]
mov ecx, 4
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 4]
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0049d7b4
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x44]
call fcn.00403a64
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0049d7b4
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x48]
call fcn.00403a64
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x2c]
mov edx, ebx
call fcn.0040dff4
dec dword [ebp - 0x10]
jne 0x49db25
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x28]
mov eax, dword [eax + 0x18]
dec eax
test eax, eax
jl 0x49e323
inc eax
mov dword [ebp - 0x10], eax
mov dl, 1
mov eax, dword [0x49d064]
call fcn.0049d35c
mov ebx, eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x24]
mov edx, dword [ebp - 4]
call fcn.0049d890
mov eax, dword [ebp - 4]
call fcn.00410774
test eax, eax
jle 0x49e30d
lea edx, [ebp - 0xc]
mov ecx, 4
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 4]
cmp dword [ebp - 0xc], 1
sete al
mov byte [ebx + 4], al
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0049d7b4
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 8]
call fcn.00403a64
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0049d7b4
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0xc]
call fcn.00403a64
lea edx, [ebp - 0xc]
mov ecx, 4
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 4]
cmp dword [ebp - 0xc], 1
sete al
mov byte [ebx + 0x10], al
lea edx, [ebp - 0xc]
mov ecx, 4
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 4]
cmp dword [ebp - 0xc], 1
sete al
mov byte [ebx + 0x11], al
lea esi, [ebx + 0x14]
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0049d7b4
mov edx, dword [ebp - 0x18]
mov eax, esi
call fcn.00403a64
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0049d7b4
mov edx, dword [ebp - 0x18]
lea eax, [esi + 4]
call fcn.00403a64
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0049d7b4
mov edx, dword [ebp - 0x18]
lea eax, [esi + 8]
call fcn.00403a64
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0049d7b4
mov edx, dword [ebp - 0x18]
lea eax, [esi + 0xc]
call fcn.00403a64
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0049d7b4
mov edx, dword [ebp - 0x18]
lea eax, [esi + 0x10]
call fcn.00403a64
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0049d7b4
mov edx, dword [ebp - 0x18]
lea eax, [esi + 0x14]
call fcn.00403a64
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0049d7b4
mov edx, dword [ebp - 0x18]
lea eax, [esi + 0x18]
call fcn.00403a64
lea esi, [ebx + 0x30]
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0049d7b4
mov edx, dword [ebp - 0x18]
mov eax, esi
call fcn.00403a64
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0049d7b4
mov edx, dword [ebp - 0x18]
lea eax, [esi + 4]
call fcn.00403a64
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0049d7b4
mov edx, dword [ebp - 0x18]
lea eax, [esi + 8]
call fcn.00403a64
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0049d7b4
mov edx, dword [ebp - 0x18]
lea eax, [esi + 0xc]
call fcn.00403a64
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0049d7b4
mov edx, dword [ebp - 0x18]
lea eax, [esi + 0x10]
call fcn.00403a64
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0049d7b4
mov edx, dword [ebp - 0x18]
lea eax, [esi + 0x14]
call fcn.00403a64
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0049d7b4
mov edx, dword [ebp - 0x18]
lea eax, [esi + 0x18]
call fcn.00403a64
lea edx, [ebp - 0xc]
mov ecx, 4
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 4]
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0x4c], eax
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0049d7b4
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x50]
call fcn.00403a64
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0049d7b4
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x54]
call fcn.00403a64
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0049d7b4
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x58]
call fcn.00403a64
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0049d7b4
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x5c]
call fcn.00403a64
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0049d7b4
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x60]
call fcn.00403a64
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0049d7b4
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x64]
call fcn.00403a64
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0049d7b4
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x68]
call fcn.00403a64
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0049d7b4
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x6c]
call fcn.00403a64
lea edx, [ebp - 0xc]
mov ecx, 4
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 4]
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0x70], eax
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0049d7b4
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x74]
call fcn.00403a64
lea edx, [ebp - 0xc]
mov ecx, 4
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 4]
cmp dword [ebp - 0xc], 1
sete al
mov byte [ebx + 0x78], al
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0049d7b4
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x7c]
call fcn.00403a64
lea edx, [ebp - 0xc]
mov ecx, 4
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 4]
lea eax, [ebx + 0x80]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0xc]
mov dword [eax], edx
mov esi, dword [ebp - 0xc]
dec esi
test esi, esi
jl 0x49e109
inc esi
xor edi, edi
mov eax, edi
sub eax, 1
jb 0x49e09b
je 0x49e0b6
dec eax
je 0x49e0d1
dec eax
je 0x49e0ec
jmp 0x49e105
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0049d7b4
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
add eax, 4
call fcn.00403a64
jmp 0x49e105
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0049d7b4
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
add eax, 8
call fcn.00403a64
jmp 0x49e105
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0049d7b4
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
add eax, 0xc
call fcn.00403a64
jmp 0x49e105
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0049d7b4
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
add eax, 0x10
call fcn.00403a64
inc edi
dec esi
jne 0x49e08a
mov esi, dword [ebp - 0xc]
dec esi
test esi, esi
jl 0x49e197
inc esi
xor edi, edi
mov eax, edi
sub eax, 1
jb 0x49e129
je 0x49e144
dec eax
je 0x49e15f
dec eax
je 0x49e17a
jmp 0x49e193
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0049d7b4
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
add eax, 0x14
call fcn.00403a64
jmp 0x49e193
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0049d7b4
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
add eax, 0x18
call fcn.00403a64
jmp 0x49e193
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0049d7b4
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
add eax, 0x1c
call fcn.00403a64
jmp 0x49e193
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0049d7b4
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
add eax, 0x20
call fcn.00403a64
inc edi
dec esi
jne 0x49e118
lea edx, [ebp - 0xc]
mov ecx, 4
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 4]
cmp dword [ebp - 0xc], 1
sete al
mov byte [ebx + 0xa4], al
lea edx, [ebp - 0xc]
mov ecx, 4
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 4]
cmp dword [ebp - 0xc], 1
sete al
mov byte [ebx + 0xa5], al
push ebp
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0049d950
pop ecx
push ebp
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0049d950
pop ecx
push ebp
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0049d950
pop ecx
push ebp
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0049d950
pop ecx
push ebp
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0049d950
pop ecx
push ebp
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0049d950
pop ecx
push ebp
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0049d950
pop ecx
push ebp
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0049d950
pop ecx
push ebp
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0049d950
pop ecx
push ebp
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0049d950
pop ecx
push ebp
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0049d950
pop ecx
push ebp
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0049d950
pop ecx
push ebp
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0049d950
pop ecx
push ebp
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0049d950
pop ecx
push ebp
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0049d950
pop ecx
push ebp
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0049d950
pop ecx
push ebp
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0049d950
pop ecx
push ebp
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0049d950
pop ecx
push ebp
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0049d950
pop ecx
push ebp
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0049d950
pop ecx
push ebp
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0049d950
pop ecx
push ebp
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0049d950
pop ecx
push ebp
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0049d950
pop ecx
lea edx, [ebp - 0xc]
mov ecx, 4
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 4]
mov esi, dword [ebp - 0xc]
dec esi
test esi, esi
jl 0x49e30d
inc esi
push ebp
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0049d950
pop ecx
dec esi
jne 0x49e2fe
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.0040dff4
dec dword [ebp - 0x10]
jne 0x49dd5a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49e346
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49e363
lea eax, [ebp - 4]
call fcn.0048ecc0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49e388
lea eax, [ebp - 0x1c]
call fcn.00404008
lea eax, [ebp - 0x18]
call fcn.00403a10
ret