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

Disassembly:
push 0xffffffffffffffff
push 0x4666a6
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x485300]
xor eax, esp
mov dword [esp + 0x250], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x485300]
xor eax, esp
push eax
lea eax, [esp + 0x268]
mov dword fs:[0], eax
mov eax, dword [esp + 0x278]
test eax, eax
mov ebp, ecx
mov dword [esp + 0x40], eax
jne 0x42d810
mov eax, dword [str.null_file_handler]
mov dword [ebp + 0x44], eax
mov ecx, dword [0x478704]
mov dword [ebp + 0x48], ecx
mov edx, dword [0x478708]
mov dword [ebp + 0x4c], edx
mov eax, dword [0x47870c]
mov dword [ebp + 0x50], eax
mov cx, word [0x478710]
mov word [ebp + 0x54], cx
xor al, al
jmp 0x42e032
mov eax, dword [ebp + 4]
test eax, eax
jne 0x42d843
mov edx, dword [str.null_image___]
mov dword [ebp + 0x44], edx
mov eax, dword [0x478718]
mov dword [ebp + 0x48], eax
mov ecx, dword [0x47871c]
mov dword [ebp + 0x4c], ecx
mov dx, word [0x478720]
mov word [ebp + 0x50], dx
xor al, al
jmp 0x42e032
mov ebx, dword [ebp + 0x28]
test ebx, ebx
je 0x42d84f
add eax, 0x28
jmp 0x42d851
xor eax, eax
movzx edi, word [ebp + 0x16]
cmp di, 8
mov dword [esp + 0x3c], eax
ja 0x42d863
test eax, eax
je 0x42d83c
mov ecx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
lea eax, [ecx + 0x1f]
cdq
and edx, 0x1f
add eax, edx
sar eax, 5
add eax, eax
add eax, eax
mov edx, esi
imul edx, eax
cmp dword [ebp + 0x1bc], 0
mov dword [esp + 0x48], edx
mov edx, dword [ebp + 0x1c]
mov dword [esp + 0x68], eax
movzx eax, di
mov dword [esp + 0x20], edx
je 0x42d8ad
test ebx, ebx
jne 0x42d8ad
mov edx, esi
imul edx, ecx
add edx, edx
add edx, edx
lea eax, [ebx + 0x20]
mov dword [esp + 0x20], edx
mov edi, dword [esp + 0x280]
cmp edi, 1
jge 0x42d8be
mov edi, 1
cmp byte [esp + 0x27c], 0
mov word [esp + 0x18], 0
mov word [esp + 0x1a], 1
mov word [esp + 0x1c], di
jne 0x42d8e7
shl edi, 4
add edi, 6
mov dword [ebp + 0x1c8], edi
mov edx, dword [esp + 0x20]
lea edi, [edx + ebx*4 + 0x28]
movzx edx, byte [ebp + 0xc]
add edi, dword [esp + 0x48]
mov byte [esp + 0x24], dl
movzx edx, byte [ebp + 0x10]
mov byte [esp + 0x25], dl
movzx edx, byte [ebp + 0x28]
mov byte [esp + 0x26], dl
mov edx, dword [ebp + 0x1c8]
xor ebx, ebx
mov word [esp + 0x2a], ax
mov word [esp + 0x7a], ax
mov eax, dword [ebp + 0x40]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x70], ecx
lea ecx, [esi + esi]
push eax
lea esi, [esp + 0xa0]
mov byte [esp + 0x2b], 0
mov word [esp + 0x2c], bx
mov dword [esp + 0x30], edi
mov dword [esp + 0x70], 0x28
mov dword [esp + 0x78], ecx
mov word [esp + 0x7c], 1
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], ebx
mov dword [esp + 0xa0], vtable.CxImage.0
call fcn.00429b70
push ebp
mov eax, esi
call fcn.00429d60
xor eax, eax
mov dword [esp + 0x270], eax
mov dword [esp + 0x50], vtable.CxMemFile.0
mov dword [esp + 0x54], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x58], eax
mov byte [esp + 0x5c], 1
mov eax, 0xff
mov byte [esp + 0x270], 1
cmp dword [ebp + 0xc], eax
jg 0x42d9d7
cmp dword [ebp + 0x10], eax
jle 0x42da31
xor esi, esi
push 1
mov byte [esp + 0x29], 0
mov byte [esp + 0x28], 0
mov dword [esp + 0x68], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x64], esi
call fcn.00444acc
add esp, 4
push 4
lea edx, [esp + 0x54]
lea ecx, [esp + 0xa0]
mov dword [esp + 0x58], eax
mov byte [esp + 0x60], 1
call fcn.00428e10
cmp dword [esp + 0x54], esi
jne 0x42da25
or edi, 0xffffffff
mov edx, edi
mov dword [esp + 0x2c], edx
jmp 0x42da35
mov edi, dword [esp + 0x58]
mov edx, edi
mov dword [esp + 0x2c], edx
jmp 0x42da35
mov edx, dword [esp + 0x2c]
cmp byte [esp + 0x27c], 0
jne 0x42dafd
mov al, byte [ebp + 0x1b6]
test al, al
je 0x42da54
movzx ecx, word [esp + 0x1a]
jmp 0x42da61
movzx cx, byte [esp + 0x1b]
mov ch, byte [esp + 0x1a]
movzx ecx, cx
test al, al
mov word [esp + 0x1a], cx
je 0x42da71
movzx eax, word [esp + 0x1c]
jmp 0x42da7e
movzx dx, byte [esp + 0x1d]
mov dh, byte [esp + 0x1c]
movzx eax, dx
mov ebx, dword [esp + 0x40]
push 1
mov word [esp + 0x20], ax
mov eax, dword [ebx]
mov edx, dword [eax + 0xc]
push 6
lea ecx, [esp + 0x20]
push ecx
mov ecx, ebx
call edx
mov al, byte [ebp + 0x1b6]
test al, al
je 0x42daaa
movzx ecx, word [esp + 0x1a]
jmp 0x42dab7
movzx cx, byte [esp + 0x1b]
mov ch, byte [esp + 0x1a]
movzx ecx, cx
test al, al
mov word [esp + 0x1a], cx
je 0x42dac7
movzx eax, word [esp + 0x1c]
jmp 0x42dad4
movzx dx, byte [esp + 0x1d]
mov dh, byte [esp + 0x1c]
movzx eax, dx
mov esi, dword [esp + 0x280]
test esi, esi
mov word [esp + 0x1c], ax
jne 0x42dfd7
mov edx, dword [esp + 0x2c]
mov cl, byte [ebp + 0x1b6]
test cl, cl
je 0x42db15
movzx eax, word [esp + 0x28]
jmp 0x42db22
mov esi, dword [esp + 0x280]
cmp esi, dword [ebp + 0x160]
mov ebx, dword [esp + 0x40]
je 0x42daec
jmp 0x42dc60
movzx ax, byte [esp + 0x29]
mov ah, byte [esp + 0x28]
movzx eax, ax
test cl, cl
mov word [esp + 0x28], ax
je 0x42db32
movzx eax, word [esp + 0x2a]
jmp 0x42db3f
movzx ax, byte [esp + 0x2b]
mov ah, byte [esp + 0x2a]
movzx eax, ax
test cl, cl
mov word [esp + 0x2a], ax
mov eax, edx
jne 0x42db67
and edx, 0xff00
shl eax, 0x10
or eax, edx
movzx edx, byte [esp + 0x2f]
shl eax, 8
or eax, edx
xor edx, edx
mov dh, byte [esp + 0x2e]
or eax, edx
test cl, cl
mov dword [esp + 0x2c], eax
je 0x42db75
mov eax, dword [esp + 0x30]
jmp 0x42db98
mov ecx, dword [esp + 0x30]
mov eax, ecx
shl eax, 0x10
and ecx, 0xff00
xor edx, edx
mov dh, byte [esp + 0x32]
or eax, ecx
movzx ecx, byte [esp + 0x33]
shl eax, 8
or eax, ecx
or eax, edx
push 1
mov dword [esp + 0x34], eax
mov eax, dword [ebx]
mov edx, dword [eax + 0xc]
push 0x10
lea ecx, [esp + 0x2c]
push ecx
mov ecx, ebx
call edx
mov cl, byte [ebp + 0x1b6]
test cl, cl
je 0x42dbbf
movzx eax, word [esp + 0x28]
jmp 0x42dbcc
movzx ax, byte [esp + 0x29]
mov ah, byte [esp + 0x28]
movzx eax, ax
test cl, cl
mov word [esp + 0x28], ax
je 0x42dbdc
movzx eax, word [esp + 0x2a]
jmp 0x42dbe9
movzx dx, byte [esp + 0x2b]
mov dh, byte [esp + 0x2a]
movzx eax, dx
test cl, cl
mov word [esp + 0x2a], ax
je 0x42dbf8
mov eax, dword [esp + 0x2c]
jmp 0x42dc1b
mov edx, dword [esp + 0x2c]
mov eax, edx
and edx, 0xff00
shl eax, 0x10
or eax, edx
movzx edx, byte [esp + 0x2f]
shl eax, 8
or eax, edx
xor edx, edx
mov dh, byte [esp + 0x2e]
or eax, edx
test cl, cl
mov dword [esp + 0x2c], eax
je 0x42dc29
mov eax, dword [esp + 0x30]
jmp 0x42dc4c
mov ecx, dword [esp + 0x30]
mov eax, ecx
shl eax, 0x10
and ecx, 0xff00
xor edx, edx
mov dh, byte [esp + 0x32]
or eax, ecx
movzx ecx, byte [esp + 0x33]
shl eax, 8
or eax, ecx
or eax, edx
add dword [ebp + 0x1c8], edi
cmp byte [esp + 0x27c], 0
mov dword [esp + 0x30], eax
je 0x42dc76
cmp esi, dword [ebp + 0x160]
jl 0x42dc7e
cmp byte [esp + 0x27c], 0
jne 0x42dfd7
test esi, esi
jne 0x42dfd7
cmp byte [esp + 0x24], 0
jne 0x42dca2
cmp byte [esp + 0x25], 0
jne 0x42dca2
mov ecx, dword [esp + 0x54]
mov eax, dword [ebx]
mov edx, dword [eax + 0xc]
push 1
push edi
push ecx
mov ecx, ebx
call edx
jmp 0x42dfd7
lea eax, [esp + 0x6c]
mov edi, ebp
call fcn.004287e0
mov eax, dword [ebx]
mov edx, dword [eax + 0xc]
push 1
push 0x28
lea ecx, [esp + 0x74]
push ecx
mov ecx, ebx
call edx
lea eax, [esp + 0x6c]
call fcn.004287e0
mov eax, dword [ebp + 0x14c]
test eax, eax
setge byte [esp + 0x17]
cmp word [ebp + 0x16], 0x18
jae 0x42dcf1
test eax, eax
jl 0x42dcf1
movzx eax, al
push eax
lea eax, [esp + 0x50]
mov ecx, ebp
call fcn.00429380
jmp 0x42dcfb
mov ecx, dword [ebp + 0x150]
mov dword [esp + 0x4c], ecx
mov edi, dword [esp + 0x3c]
test edi, edi
je 0x42dd44
cmp byte [esp + 0x17], 0
je 0x42dd17
mov al, byte [ebp + 0x14c]
mov esi, ebp
call fcn.004292d0
mov eax, dword [ebp + 0x28]
mov edx, dword [ebx]
mov edx, dword [edx + 0xc]
add eax, eax
push 1
add eax, eax
push eax
push edi
mov ecx, ebx
call edx
cmp byte [esp + 0x17], 0
je 0x42dd44
mov eax, dword [esp + 0x4c]
push eax
mov al, byte [ebp + 0x14c]
mov edi, ebp
call fcn.00429310
cmp dword [ebp + 0x1bc], 0
je 0x42de1e
cmp dword [ebp + 0x28], 0
jne 0x42de1e
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00444acc
xor ebx, ebx
add esp, 4
cmp dword [ebp + 0x10], ebx
mov dword [esp + 0x44], eax
mov esi, eax
mov dword [esp + 0x34], ebx
jle 0x42ddfc
lea ecx, [ecx]
mov edx, ebx
mov eax, ebp
call fcn.0042a080
xor edx, edx
cmp dword [ebp + 0xc], edx
jle 0x42ddf0
movzx ecx, byte [eax]
mov byte [esi], cl
movzx ecx, byte [eax + 1]
add eax, 1
add esi, 1
mov byte [esi], cl
movzx ecx, byte [eax + 1]
add eax, 1
add esi, 1
mov byte [esi], cl
mov edi, dword [ebp + 0x1bc]
add esi, 1
add eax, 1
test edi, edi
je 0x42dde1
test ebx, ebx
jl 0x42dde1
cmp ebx, dword [ebp + 0x10]
jge 0x42dde1
test edx, edx
jl 0x42dde1
mov ecx, dword [ebp + 0xc]
cmp edx, ecx
jge 0x42dde1
imul ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x34]
add ecx, edi
mov cl, byte [ecx + edx]
jmp 0x42dde3
xor cl, cl
mov byte [esi], cl
add edx, 1
add esi, 1
cmp edx, dword [ebp + 0xc]
jl 0x42dd90
add ebx, 1
cmp ebx, dword [ebp + 0x10]
mov dword [esp + 0x34], ebx
jl 0x42dd80
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x20]
mov edx, dword [ecx]
mov esi, dword [esp + 0x44]
mov edx, dword [edx + 0xc]
push 1
push eax
push esi
call edx
push esi
call fcn.00444833
add esp, 4
jmp 0x42de32
mov ecx, dword [esp + 0x20]
mov eax, dword [ebx]
mov edx, dword [ebp + 0x34]
mov eax, dword [eax + 0xc]
push 1
push ecx
push edx
mov ecx, ebx
call eax
mov ecx, dword [esp + 0x48]
push 1
push ecx
call fcn.004459af
add esp, 8
test eax, eax
mov dword [esp + 0x44], eax
jne 0x42de80
lea esi, [esp + 0x50]
call fcn.0042ae00
mov dword [esp + 0x270], 0xffffffff
lea esi, [esp + 0x9c]
mov dword [esp + 0x9c], vtable.CxImage.0
call fcn.00429cf0
call fcn.00429c40
xor al, al
jmp 0x42e032
mov eax, ebp
call fcn.0042a2d0
cmp dword [ebp + 0x1bc], 0
mov byte [esp + 0x3a], al
setne byte [esp + 0x3b]
cmp dword [ebp + 0x10], 0
mov dword [esp + 0x20], 0
jle 0x42dfb7
mov dword [esp + 0x3c], 0
xor esi, esi
cmp dword [ebp + 0xc], esi
jle 0x42df9b
cmp byte [esp + 0x3b], 0
mov dword [esp + 0x34], 0
je 0x42df00
mov ecx, dword [ebp + 0x1bc]
test ecx, ecx
je 0x42def8
mov edx, dword [esp + 0x20]
test edx, edx
jl 0x42def8
cmp edx, dword [ebp + 0x10]
jge 0x42def8
test esi, esi
jl 0x42def8
mov eax, dword [ebp + 0xc]
cmp esi, eax
jge 0x42def8
imul eax, edx
add eax, ecx
cmp byte [eax + esi], 0
jne 0x42df00
mov dword [esp + 0x34], 1
cmp byte [esp + 0x3a], 0
je 0x42df28
mov eax, dword [esp + 0x20]
push esi
lea edi, [esp + 0x9c]
mov ebx, ebp
call fcn.00429680
cmp byte [eax + 3], 0
jne 0x42df28
mov dword [esp + 0x34], 1
mov eax, dword [esp + 0x20]
mov edx, dword [ebp]
mov edx, dword [edx + 4]
push 0
push eax
push esi
lea ecx, [esp + 0xa0]
push ecx
mov ecx, ebp
call edx
cmp byte [esp + 0x17], 0
mov eax, dword [eax]
je 0x42df59
cmp eax, dword [esp + 0x4c]
jne 0x42df59
mov dword [esp + 0x34], 1
mov edi, esi
sar edi, 3
add edi, dword [esp + 0x3c]
mov eax, esi
add edi, dword [esp + 0x44]
and eax, 0x80000007
jns 0x42df74
dec eax
or eax, 0xfffffff8
inc eax
mov ecx, 7
sub ecx, eax
mov al, byte [esp + 0x34]
mov dl, 1
shl dl, cl
and al, 1
shl al, cl
add esi, 1
not dl
and dl, byte [edi]
or dl, al
mov byte [edi], dl
cmp esi, dword [ebp + 0xc]
jl 0x42debc
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x68]
add dword [esp + 0x3c], ecx
add eax, 1
cmp eax, dword [ebp + 0x10]
mov dword [esp + 0x20], eax
jl 0x42deb1
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x48]
mov edx, dword [ecx]
mov esi, dword [esp + 0x44]
mov edx, dword [edx + 0xc]
push 1
push eax
push esi
call edx
push esi
call fcn.00444833
add esp, 4
mov eax, dword [esp + 0x54]
test eax, eax
mov dword [esp + 0x50], vtable.CxMemFile.0
je 0x42e001
cmp byte [esp + 0x5c], 0
je 0x42e001
push eax
call fcn.00444833
add esp, 4
xor eax, eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x270], 0xffffffff
lea esi, [esp + 0x9c]
mov dword [esp + 0x50], vtable.CxFile.0
mov dword [esp + 0x9c], vtable.CxImage.0
call fcn.00429cf0
call fcn.00429c40
mov al, 1
mov ecx, dword [esp + 0x268]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x250]
xor ecx, esp
call fcn.0044266a
add esp, 0x260
ret 0xc