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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4b05d8
mov eax, dword fs:[0]
push eax
sub esp, 0x250
mov eax, dword [0x4d25ac]
xor eax, esp
mov dword [esp + 0x248], eax
push ebx
push esi
push edi
mov eax, dword [0x4d25ac]
xor eax, esp
push eax
lea eax, [esp + 0x260]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov edi, 7
xor ecx, ecx
mov dword [esp + 0x14], eax
mov dword [esp + method.CINIReader.virtual_0], vtable.CINIReader.0
mov dword [esp + 0x200], edi
mov dword [esp + 0x1fc], ebx
mov word [esp + 0x1ec], cx
mov dword [esp + 0x204], ebx
mov byte [esp + 0x208], bl
mov dword [esp + 0x268], ebx
mov dword [esp + 0x1e0], 0xf
mov dword [esp + 0x1dc], ebx
mov byte [esp + 0x1cc], bl
mov byte [esp + 0x268], 1
xor edx, edx
push 0xe
mov eax, 0x4b9758
lea esi, [esp + 0x1c]
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], dx
call fcn.00401f30
lea eax, [esp + 0x1c8]
push eax
mov ecx, esi
mov byte [esp + 0x26c], 2
call fcn.0040f750
mov byte [esp + 0x268], 1
cmp dword [esp + 0x30], 8
jb 0x40fcf9
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00491101
add esp, 4
cmp dword [esp + 0x1e0], 0x10
mov eax, dword [esp + 0x1cc]
jae 0x40fd11
lea eax, [esp + 0x1cc]
push 3
lea edx, [esp + 0xb0]
push eax
lea eax, [esp + 0xb0]
mov dword [esp + 0xb0], edx
call fcn.00403c90
mov byte [esp + 0x268], 3
xor eax, eax
mov word [esp + 0x1b0], ax
mov eax, dword [esp + 0xa8]
mov ecx, eax
mov dword [esp + 0x1c4], edi
mov dword [esp + 0x1c0], ebx
lea esi, [ecx + 2]
lea ebx, [ebx]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x40fd60
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [esp + 0x1b0]
call fcn.00401f30
mov ecx, esi
push ecx
lea edi, [esp + 0x1e8]
mov byte [esp + 0x26c], 4
call fcn.00420210
cmp dword [esp + 0x1c4], 8
mov byte [esp + 0x13], al
jb 0x40fdb1
mov edx, dword [esp + 0x1b0]
push edx
call fcn.00491101
add esp, 4
xor eax, eax
mov word [esp + 0x1b0], ax
mov byte [esp + 0x268], 1
mov eax, dword [esp + 0xa8]
lea ecx, [esp + 0xac]
mov edi, 7
mov dword [esp + 0x1c4], edi
mov dword [esp + 0x1c0], ebx
cmp eax, ecx
je 0x40fdf1
push eax
call fcn.0049227f
add esp, 4
cmp byte [esp + 0x13], bl
je 0x410380
xor edx, edx
push 0x23
mov eax, str.SOFTWAREMozillaFirefoxextensions
lea esi, [esp + 0x54]
mov dword [esp + 0x6c], edi
mov dword [esp + 0x68], ebx
mov word [esp + 0x58], dx
call fcn.00401f30
push 1
mov eax, esi
push eax
lea ecx, [esp + 0x214]
push ecx
mov edx, reloc.OLEAUT32.dll_SysReAllocString
mov byte [esp + 0x274], 5
call fcn.00409140
mov byte [esp + 0x268], 7
cmp dword [esp + 0x68], 8
jb 0x40fe55
mov edx, dword [esp + 0x54]
push edx
call fcn.00491101
add esp, 4
xor eax, eax
mov word [esp + 0x54], ax
xor ecx, ecx
push ebx
mov eax, 0x4b49f8
lea esi, [esp + 0x88]
mov dword [esp + 0x6c], edi
mov dword [esp + 0x68], ebx
mov dword [esp + 0xa0], edi
mov dword [esp + 0x9c], ebx
mov word [esp + 0x8c], cx
call fcn.00401f30
lea edx, [esp + 0x20c]
mov byte [esp + 0x268], 8
push edx
mov edx, dword [esp + 0x18]
mov ecx, esi
lea ebx, [esp + 0x1b0]
call fcn.00409490
mov esi, 8
mov byte [esp + 0x268], 0xa
cmp dword [esp + 0x9c], esi
jb 0x40fed6
mov eax, dword [esp + 0x88]
push eax
call fcn.00491101
add esp, 4
xor edi, edi
xor ecx, ecx
mov ebx, 7
mov dword [esp + 0x9c], ebx
mov dword [esp + 0x98], edi
mov word [esp + 0x88], cx
cmp dword [esp + 0x1c0], edi
je 0x410341
xor edx, edx
push 9
mov eax, str.Extension
lea esi, [esp + 0x1c]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], edi
mov word [esp + 0x20], dx
call fcn.00401f30
mov byte [esp + 0x268], 0xb
xor eax, eax
mov word [esp + 0x38], ax
push 0xd
mov eax, str.ExtensionDirs
lea esi, [esp + 0x38]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x4c], edi
call fcn.00401f30
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x1e8]
push edx
mov edx, esi
lea ecx, [esp + 0x74]
mov byte [esp + 0x270], 0xc
call fcn.004206a0
mov esi, 8
cmp dword [esp + 0x4c], esi
jb 0x40ff80
mov eax, dword [esp + 0x38]
push eax
call fcn.00491101
add esp, 4
xor ecx, ecx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], edi
mov word [esp + 0x38], cx
mov byte [esp + 0x268], 0xf
cmp dword [esp + 0x30], esi
jb 0x40ffaa
mov edx, dword [esp + 0x1c]
push edx
call fcn.00491101
add esp, 4
lea ecx, [esp + 0x50]
xor eax, eax
push ecx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], edi
mov word [esp + 0x20], ax
call fcn.00409fc0
cmp byte [ebp + 0xc], 0
mov byte [esp + 0x268], 0x10
je 0x4101b6
lea edx, [esp + 0x1ac]
push edx
lea ebx, [esp + 0x70]
call fcn.0040a070
mov eax, str.Extension
lea ecx, [esp + 0x34]
call fcn.00401fe0
mov eax, str.ExtensionDirs
lea ecx, [esp + 0x18]
mov byte [esp + 0x268], 0x11
call fcn.00401fe0
mov eax, ebx
push eax
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x1f0]
push eax
mov byte [esp + 0x278], 0x12
call fcn.00420c10
mov esi, 8
cmp dword [esp + 0x30], esi
jb 0x410044
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00491101
add esp, 4
xor edx, edx
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], dx
cmp dword [esp + 0x4c], esi
jb 0x41006e
mov eax, dword [esp + 0x38]
push eax
call fcn.00491101
add esp, 4
xor edi, edi
mov eax, dword [esp + 0x5c]
cmp eax, edi
je 0x410098
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x60]
push ecx
call fcn.0040a720
mov edx, dword [esp + 0x60]
add esp, 4
push edx
call fcn.00491101
add esp, 4
xor edi, edi
mov eax, dword [esp + 0x50]
push eax
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], edi
call fcn.00491101
mov eax, dword [esp + 0x7c]
add esp, 4
cmp eax, edi
je 0x4100d9
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x7c]
push ecx
call fcn.0040a720
mov edx, dword [esp + 0x7c]
add esp, 4
push edx
call fcn.00491101
add esp, 4
xor edi, edi
mov eax, dword [esp + 0x6c]
push eax
mov dword [esp + 0x7c], edi
mov dword [esp + 0x80], edi
mov dword [esp + 0x84], edi
call fcn.00491101
mov esi, 8
add esp, 4
cmp dword [esp + 0x1c4], esi
jb 0x410116
mov ecx, dword [esp + 0x1b0]
push ecx
call fcn.00491101
add esp, 4
xor edx, edx
lea ecx, [esp + 0x20c]
mov dword [esp + 0x1c4], 7
mov dword [esp + 0x1c0], edi
mov word [esp + 0x1b0], dx
call fcn.004036b0
cmp dword [esp + 0x1e0], 0x10
jb 0x410158
mov eax, dword [esp + 0x1cc]
push eax
call fcn.00491101
add esp, 4
mov eax, dword [esp + 0x204]
mov dword [esp + 0x1e0], 0xf
mov dword [esp + 0x1dc], edi
mov byte [esp + 0x1cc], 0
mov dword [esp + method.CINIReader.virtual_0], vtable.CINIReader.0
cmp eax, edi
je 0x410196
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x204], edi
cmp dword [esp + 0x200], esi
jb 0x4101af
mov ecx, dword [esp + 0x1ec]
push ecx
call fcn.00491101
add esp, 4
xor eax, eax
jmp 0x4103f6
mov esi, dword [esp + 0x78]
mov eax, dword [esp + 0x7c]
cmp esi, eax
jbe 0x4101cb
call fcn.00492a5a
mov eax, dword [esp + 0x7c]
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0xa0], ebx
mov dword [esp + 0x14], eax
cmp dword [esp + 0x78], eax
jbe 0x4101e5
call fcn.00492a5a
cmp ebx, edi
je 0x4101ef
cmp ebx, dword [esp + 0x6c]
je 0x4101f4
call fcn.00492a5a
cmp esi, dword [esp + 0x14]
je 0x410291
cmp ebx, edi
jne 0x410221
call fcn.00492a5a
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x410213
call fcn.00492a5a
cmp dword [esi + 0x18], 8
mov edi, dword [esi + 0x14]
jb 0x410225
mov eax, dword [esi + 4]
jmp 0x410228
mov eax, dword [ebx]
jmp 0x410209
lea eax, [esi + 4]
push eax
mov eax, dword [esp + 0x1c4]
lea ecx, [esp + 0x1b0]
call fcn.00403710
test eax, eax
je 0x410266
test ebx, ebx
jne 0x410289
call fcn.00492a5a
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x410255
call fcn.00492a5a
push esi
lea ebx, [esp + 0x54]
call fcn.0040a070
mov ebx, dword [esp + 0xa0]
test ebx, ebx
jne 0x41028d
call fcn.00492a5a
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x41027b
call fcn.00492a5a
mov eax, dword [esp + 0x7c]
add esi, 0x1c
xor edi, edi
jmp 0x4101d6
mov eax, dword [ebx]
jmp 0x41024b
mov eax, dword [ebx]
jmp 0x410271
xor ecx, ecx
mov ebx, 7
push 9
mov eax, str.Extension
lea esi, [esp + 0x38]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x4c], edi
mov word [esp + 0x3c], cx
call fcn.00401f30
mov byte [esp + 0x268], 0x13
xor edx, edx
push 0xd
mov eax, str.ExtensionDirs
lea esi, [esp + 0x1c]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], edi
mov word [esp + 0x20], dx
call fcn.00401f30
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x38]
push ecx
mov edx, esi
push edx
lea eax, [esp + 0x1f0]
push eax
mov byte [esp + 0x278], 0x14
call fcn.00420c10
mov esi, 8
cmp dword [esp + 0x30], esi
jb 0x410316
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00491101
add esp, 4
xor edx, edx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], edi
mov word [esp + 0x1c], dx
cmp dword [esp + 0x4c], esi
jb 0x410070
mov eax, dword [esp + 0x38]
push eax
call fcn.00491101
add esp, 4
jmp 0x410070
cmp dword [esp + 0x1c4], esi
jb 0x41035a
mov edx, dword [esp + 0x1b0]
push edx
call fcn.00491101
add esp, 4
xor eax, eax
lea ecx, [esp + 0x20c]
mov dword [esp + 0x1c4], ebx
mov dword [esp + 0x1c0], edi
mov word [esp + 0x1b0], ax
call fcn.004036b0
xor ebx, ebx
cmp dword [esp + 0x1e0], 0x10
jb 0x41039a
mov ecx, dword [esp + 0x1cc]
push ecx
call fcn.00491101
add esp, 4
mov eax, dword [esp + 0x204]
mov dword [esp + 0x1e0], 0xf
mov dword [esp + 0x1dc], ebx
mov byte [esp + 0x1cc], bl
mov dword [esp + method.CINIReader.virtual_0], vtable.CINIReader.0
cmp eax, ebx
je 0x4103d7
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x204], ebx
cmp dword [esp + 0x200], 8
jb 0x4103f1
mov edx, dword [esp + 0x1ec]
push edx
call fcn.00491101
add esp, 4
mov eax, 2
mov ecx, dword [esp + 0x260]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x248]
xor ecx, esp
call fcn.0049110c
mov esp, ebp
pop ebp
ret 8