Function at 0x49edb8
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 0x49f765
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.0049e9fc
test ebx, ebx
je 0x49f747
mov dl, 1
mov eax, dword [0x40d104]
call fcn.00402e3c
mov dword [ebp - 4], eax
xor ecx, ecx
push ebp
push 0x49f740
push dword fs:[ecx]
mov dword fs:[ecx], esp
xor ecx, ecx
push ebp
push 0x49f711
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov eax, ebx
call fcn.00403e50
push 0x49eb64
push eax
mov eax, dword [ebp - 8]
push eax
call sub.pexdll2.dll_PexExtractCert
mov ebx, eax
test bl, bl
je 0x49f707
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x24]
call fcn.00410750
test eax, eax
jle 0x49f707
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.0049eb98
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.0049eb98
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 0x49eeeb
mov eax, dword [ebx + 0x1c]
mov edx, dword [ebx + 0x20]
call fcn.00403d9c
jne 0x49eeeb
xor eax, eax
jmp 0x49eeed
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 0x49f128
inc eax
mov dword [ebp - 0x10], eax
mov dl, 1
mov eax, dword [0x49e2b8]
call fcn.0049e650
mov ebx, eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x24]
mov edx, dword [ebp - 4]
call fcn.0049ec74
mov eax, dword [ebp - 4]
call fcn.00410750
test eax, eax
jle 0x49f112
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 0x49ef5e
cmp dword [ebp - 0xc], 0
jne 0x49ef5e
xor eax, eax
jmp 0x49ef60
mov al, 1
mov edx, dword [ebp - 8]
mov byte [edx + 0x35], al
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0049eb98
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 8]
call fcn.00403a64
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0049eb98
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0xc]
call fcn.00403a64
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0049eb98
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 0x49f000
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.0049ec04
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x18]
call fcn.00404044
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0049eb98
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x1c]
call fcn.00403a64
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0049eb98
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.0049eb98
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x24]
call fcn.00403a64
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0049eb98
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x28]
call fcn.00403a64
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0049eb98
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x2c]
call fcn.00403a64
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0049eb98
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x30]
call fcn.00403a64
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0049eb98
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x34]
call fcn.00403a64
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0049eb98
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.0049eb98
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x3c]
call fcn.00403a64
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0049eb98
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.0049eb98
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x44]
call fcn.00403a64
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0049eb98
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.0040dfd0
dec dword [ebp - 0x10]
jne 0x49ef09
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x28]
mov eax, dword [eax + 0x18]
dec eax
test eax, eax
jl 0x49f707
inc eax
mov dword [ebp - 0x10], eax
mov dl, 1
mov eax, dword [0x49e448]
call fcn.0049e740
mov ebx, eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x24]
mov edx, dword [ebp - 4]
call fcn.0049ec74
mov eax, dword [ebp - 4]
call fcn.00410750
test eax, eax
jle 0x49f6f1
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.0049eb98
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 8]
call fcn.00403a64
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0049eb98
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.0049eb98
mov edx, dword [ebp - 0x18]
mov eax, esi
call fcn.00403a64
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0049eb98
mov edx, dword [ebp - 0x18]
lea eax, [esi + 4]
call fcn.00403a64
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0049eb98
mov edx, dword [ebp - 0x18]
lea eax, [esi + 8]
call fcn.00403a64
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0049eb98
mov edx, dword [ebp - 0x18]
lea eax, [esi + 0xc]
call fcn.00403a64
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0049eb98
mov edx, dword [ebp - 0x18]
lea eax, [esi + 0x10]
call fcn.00403a64
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0049eb98
mov edx, dword [ebp - 0x18]
lea eax, [esi + 0x14]
call fcn.00403a64
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0049eb98
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.0049eb98
mov edx, dword [ebp - 0x18]
mov eax, esi
call fcn.00403a64
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0049eb98
mov edx, dword [ebp - 0x18]
lea eax, [esi + 4]
call fcn.00403a64
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0049eb98
mov edx, dword [ebp - 0x18]
lea eax, [esi + 8]
call fcn.00403a64
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0049eb98
mov edx, dword [ebp - 0x18]
lea eax, [esi + 0xc]
call fcn.00403a64
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0049eb98
mov edx, dword [ebp - 0x18]
lea eax, [esi + 0x10]
call fcn.00403a64
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0049eb98
mov edx, dword [ebp - 0x18]
lea eax, [esi + 0x14]
call fcn.00403a64
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0049eb98
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.0049eb98
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x50]
call fcn.00403a64
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0049eb98
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x54]
call fcn.00403a64
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0049eb98
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x58]
call fcn.00403a64
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0049eb98
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x5c]
call fcn.00403a64
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0049eb98
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x60]
call fcn.00403a64
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0049eb98
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x64]
call fcn.00403a64
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0049eb98
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x68]
call fcn.00403a64
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0049eb98
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.0049eb98
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.0049eb98
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 0x49f4ed
inc esi
xor edi, edi
mov eax, edi
sub eax, 1
jb 0x49f47f
je 0x49f49a
dec eax
je 0x49f4b5
dec eax
je 0x49f4d0
jmp 0x49f4e9
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0049eb98
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
add eax, 4
call fcn.00403a64
jmp 0x49f4e9
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0049eb98
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
add eax, 8
call fcn.00403a64
jmp 0x49f4e9
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0049eb98
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
add eax, 0xc
call fcn.00403a64
jmp 0x49f4e9
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0049eb98
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
add eax, 0x10
call fcn.00403a64
inc edi
dec esi
jne 0x49f46e
mov esi, dword [ebp - 0xc]
dec esi
test esi, esi
jl 0x49f57b
inc esi
xor edi, edi
mov eax, edi
sub eax, 1
jb 0x49f50d
je 0x49f528
dec eax
je 0x49f543
dec eax
je 0x49f55e
jmp 0x49f577
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0049eb98
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
add eax, 0x14
call fcn.00403a64
jmp 0x49f577
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0049eb98
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
add eax, 0x18
call fcn.00403a64
jmp 0x49f577
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0049eb98
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
add eax, 0x1c
call fcn.00403a64
jmp 0x49f577
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0049eb98
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
add eax, 0x20
call fcn.00403a64
inc edi
dec esi
jne 0x49f4fc
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.0049ed34
pop ecx
push ebp
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0049ed34
pop ecx
push ebp
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0049ed34
pop ecx
push ebp
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0049ed34
pop ecx
push ebp
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0049ed34
pop ecx
push ebp
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0049ed34
pop ecx
push ebp
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0049ed34
pop ecx
push ebp
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0049ed34
pop ecx
push ebp
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0049ed34
pop ecx
push ebp
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0049ed34
pop ecx
push ebp
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0049ed34
pop ecx
push ebp
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0049ed34
pop ecx
push ebp
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0049ed34
pop ecx
push ebp
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0049ed34
pop ecx
push ebp
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0049ed34
pop ecx
push ebp
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0049ed34
pop ecx
push ebp
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0049ed34
pop ecx
push ebp
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0049ed34
pop ecx
push ebp
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0049ed34
pop ecx
push ebp
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0049ed34
pop ecx
push ebp
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0049ed34
pop ecx
push ebp
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0049ed34
pop ecx
push ebp
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0049ed34
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 0x49f6f1
inc esi
push ebp
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0049ed34
pop ecx
dec esi
jne 0x49f6e2
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.0040dfd0
dec dword [ebp - 0x10]
jne 0x49f13e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49f72a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49f747
lea eax, [ebp - 4]
call fcn.0048eb24
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49f76c
lea eax, [ebp - 0x1c]
call fcn.00404008
lea eax, [ebp - 0x18]
call fcn.00403a10
ret