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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 0x10]
and eax, 4
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
jne 0x533dc2
push esi
push edi
lea esi, [ebx + 0x18]
push esi
mov dword [ebp - 0x14], esi
call fcn.004aa24d
mov eax, dword [ebx + 0x90]
xor edi, edi
cmp eax, edi
jne 0x533ddb
mov dword [ebp - 8], edi
cmp dword [ebx + 0x94], edi
jne 0x533df1
mov dword [ebp - 0x10], edi
push 0x64546553
push 0x38
push edi
call fcn.0047a005
mov esi, eax
cmp esi, edi
je 0x533e2d
mov eax, dword [ebx + 0x58]
add eax, dword [ebp + 0x2c]
mov ebx, dword [ebx + 0x5c]
lea ecx, [ebp - 0x18]
push ecx
mov dword [ebp - 4], eax
add eax, 0xa0
push eax
push ebx
push eax
push edi
push dword [ebp + 0xc]
push edi
push dword [0x5c4ee0]
push dword [ebp + 0xc]
call fcn.00496525
mov ebx, dword [ebp - 0x18]
mov edi, eax
test edi, edi
jl 0x533e55
lea eax, [ebx + 0x30]
push esi
mov dword [eax], esi
call fcn.00412eef
lea eax, [ebx + 0x40]
push eax
call fcn.0040e547
lea eax, [ebx + 0x10]
push eax
call fcn.0040e547
mov byte [ebx + 0x8c], 0
mov eax, dword fs:[0x124]
dec dword [eax + 0xd4]
mov esi, dword [ebp + 8]
push 1
push dword [esi + 0x30]
call fcn.0040a980
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov dword [ebx + 0x18], ecx
mov eax, dword [eax + 4]
mov dword [ebx + 0x1c], eax
mov eax, dword [esi + 0x28]
mov dword [ebx + 0x28], eax
mov eax, dword [esi + 0x2c]
mov dword [ebx + 0x2c], eax
mov edi, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x5c]
mov dword [ebx + 0x5c], eax
xor eax, eax
mov dword [ebx + 0x60], eax
mov ecx, dword [esi + 0x64]
mov dword [ebx + 0x64], ecx
mov ecx, dword [esi + 0x4c]
mov dword [ebx + 0x4c], ecx
mov ecx, dword [esi + 0x48]
mov dword [ebx + 0x48], ecx
mov ecx, dword [esi + 0x38]
mov dword [ebx + 0x38], ecx
mov ecx, dword [esi + 0x3c]
mov dword [ebx + 0x3c], ecx
mov dword [ebx + 0x50], eax
mov ecx, dword [esi + 0x54]
mov dword [ebx + 0x54], ecx
mov ecx, dword [ebp - 4]
mov dword [ebx + 0x58], ecx
mov ecx, dword [esi + 0x88]
and ecx, 0xfffffedf
test byte [ebp + 0x10], 2
mov dword [ebx + 0x88], ecx
mov ecx, dword [ebp - 8]
mov dword [ebx + 0x90], ecx
mov ecx, dword [ebp - 0x10]
mov dword [ebx + 0x94], ecx
jne 0x533e83
cmp dword [ebp - 0x1c], eax
jne 0x533e8f
mov eax, dword [esi + 0x10]
mov dword [ebx + 0x20], eax
mov eax, dword [esi + 0x14]
mov dword [ebx + 0x24], eax
mov eax, dword [esi + 0x80]
mov dword [ebx + 0x80], eax
mov eax, dword [esi + 0x84]
lea edi, [ebx + 0xa0]
push edi
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x74], edi
push dword [esi + 0x74]
push dword [esi + 0x54]
call fcn.004cbf9e
mov eax, dword [esi + 0x54]
lea eax, [eax + eax*2]
shl eax, 2
sub dword [ebp - 4], eax
add edi, eax
mov eax, dword [esi + 0x50]
cmp eax, dword [ebp + 0x24]
ja 0x4e0deb
mov eax, dword [ebp + 0x24]
mov ecx, dword [esi + 0x4c]
add ecx, eax
lea eax, [edi + ecx*8]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 4]
push eax
mov dword [ebx + 0x68], edi
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0xc]
push edi
push dword [ebp - 4]
push dword [esi + 0x68]
push dword [esi + 0x4c]
call fcn.004a1669
mov dword [ebp + 0x2c], eax
mov eax, dword [esi + 0x4c]
lea edi, [edi + eax*8]
mov eax, dword [ebp + 0x24]
test eax, eax
mov dword [ebx + 0x6c], edi
ja 0x533e9b
mov eax, dword [esi + 0x70]
movzx edi, byte [eax + 1]
mov eax, dword [esi + 0x7c]
test eax, eax
lea edi, [edi*4 + 8]
je 0x4e0e45
movzx eax, word [eax + 2]
add edi, eax
push 0x64546553
push edi
push 1
call fcn.0047a005
xor ecx, ecx
cmp eax, ecx
mov dword [ebp + 0x24], eax
mov dword [ebx + 0x78], eax
je 0x533efe
cmp dword [esi + 0x50], ecx
jne 0x533f2e
cmp dword [ebx + 0x50], ecx
ja 0x533f73
mov esi, dword [esi + 0x78]
mov ecx, edi
mov edx, ecx
shr ecx, 2
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [ebp + 8]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [edx + 0x7c]
test ecx, ecx
je 0x4e0efc
sub ecx, dword [edx + 0x78]
add ecx, eax
mov dword [ebx + 0x7c], ecx
mov esi, dword [edx + 0x70]
mov ecx, dword [edx + 0x30]
sub esi, dword [edx + 0x78]
call fcn.00405599
mov eax, dword fs:[0x124]
inc dword [eax + 0xd4]
jne 0x4e0ec2
lea ecx, [eax + 0x34]
cmp dword [ecx], ecx
jne 0x533f7f
push dword [ebp + 0x20]
mov eax, dword [ebp + 0x24]
push dword [ebp + 0x1c]
add esi, eax
push dword [ebp + 0x18]
mov dword [ebx + 0x70], esi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ebx
call fcn.004e0bc5
lea eax, [ebx + 0x38]
mov ecx, dword [eax]
or ecx, dword [eax + 4]
jne 0x533f90
mov eax, dword [ebp + 0x30]
mov dword [eax], ebx
mov eax, dword [ebp + 0x2c]
pop edi
pop esi
pop ebx
leave
ret 0x2c
and dword [ebx + 0x7c], 0
jmp 0x4e0e9b
test word [ebx + 0x88], 0x112
je 0x4e0c4b
mov eax, 0xc000000d
jmp 0x4e0ef7
push eax
lea eax, [ebp - 8]
push eax
call fcn.0056c03a
cmp eax, edi
jge 0x4e0c6c
mov edi, eax
jmp 0x533e13
push 0x20206553
push 0xc
push 1
call fcn.0047a005
cmp eax, edi
mov dword [ebp - 0x10], eax
jne 0x533e1b
push dword [ebp - 8]
call int.0056c0e3
mov edi, 0xc000009a
push esi
call fcn.004aa150
jmp 0x533e7c
mov esi, dword [ebx + 0x94]
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor edi, edi
jmp 0x4e0c7b
cmp dword [ebp - 0x10], edi
je 0x533e3b
push edi
push dword [ebp - 0x10]
call fcn.0047a1e6
push dword [ebp - 8]
call int.0056c0e3
push dword [ebp - 0x14]
call fcn.004aa150
mov eax, 0xc000009a
jmp 0x4e0ef5
push dword [ebp - 0x14]
call fcn.004aa150
push dword [ebp - 8]
call int.0056c0e3
xor ebx, ebx
push ebx
push esi
call fcn.0047a1e6
cmp dword [ebp - 0x10], ebx
je 0x533e7c
push ebx
push dword [ebp - 0x10]
call fcn.0047a1e6
mov eax, edi
jmp 0x4e0ef5
or dword [ebx + 0x88], 0x40
jmp 0x4e0d90
or byte [ebx + 0x89], 1
jmp 0x4e0d99
mov ecx, dword [ebp + 0x28]
mov dword [ebp + 0x24], ecx
mov dword [ebp + 0xc], eax
mov eax, dword [esi + 0x50]
test eax, eax
je 0x533ebf
mov ecx, dword [ebp + 0x24]
push dword [ecx]
push 0
push eax
push dword [esi + 0x6c]
call fcn.004e0ac6
test al, al
je 0x533eef
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0xc]
push edi
push dword [ebp - 4]
push dword [ebp + 0x24]
push 1
call fcn.004a1669
mov ecx, dword [ebx + 0x6c]
mov dword [ebp + 0x2c], eax
mov eax, dword [ebx + 0x50]
add edi, 8
mov dword [ecx + eax*8 + 4], 7
inc dword [ebx + 0x50]
add dword [ebp + 0x24], 8
dec dword [ebp + 0xc]
je 0x4e0e2a
jmp 0x533ea4
mov ecx, dword [esi + 0x30]
call fcn.00405599
mov eax, dword fs:[0x124]
inc dword [eax + 0xd4]
jne 0x533f27
lea ecx, [eax + 0x34]
cmp dword [ecx], ecx
je 0x533f27
mov cl, 1
mov byte [eax + 0x49], 1
call dword [fcn.0040110c]
mov esi, 0xc000009a
jmp 0x533f65
cmp dword [ebx + 0x50], ecx
jne 0x4e0e6e
mov ecx, dword [esi + 0x30]
call fcn.00405599
mov eax, dword fs:[0x124]
inc dword [eax + 0xd4]
jne 0x533f60
lea ecx, [eax + 0x34]
cmp dword [ecx], ecx
je 0x533f60
mov cl, 1
mov byte [eax + 0x49], 1
call dword [fcn.0040110c]
mov esi, 0xc000000d
mov ecx, ebx
call fcn.0040a930
mov eax, esi
jmp 0x4e0ef5
or dword [ebx + 0x88], 0x10
jmp 0x4e0e74
mov cl, 1
mov byte [eax + 0x49], 1
call dword [fcn.0040110c]
jmp 0x4e0ec2
push 1
push eax
call fcn.0041ce0d
jmp 0x4e0eed